">
">
<% if params[:is_index_table].present? %> "> <% else %> " href="<%= documents_path %>"> <% end %>
Date :
<%= @document.docdate.present? ? @document.docdate.strftime("%m/%d/%Y") : @document.year %>
Reference Number :
<%= @document.reference_number %>
Title :
<%= @document.short_title || @document.title %>
<%= render(DoctrineModalFormComponent.new(current_user: current_user)) %>
<% @document.subjects.sort_by { |sub| sub.lineage_name }.each_with_index do |subject, i| %>
<% doctrines = @document.doctrines.includes(:doctrine_subjects).where(doctrine_subjects: { subject_id: subject.id }) %>
<%= render(DocumentDoctrineIndexComponent.with_collection(doctrines, current_user: current_user, opts: { document_id: @document.id })) %>
<% end %>
" id="documentTabContent" role="tabpanel">
<%= raw @document.content.html_safe%>
" id="citatonTabContent" role="tabpanel">

Cited In

<%= render PaginationComponent.new(data: @paginated_cited_in_documents, opts: { is_cited_in_doc: true}) %>
<%= render(CitationIndexTableComponent.with_collection(@cited_in_documents, current_user: current_user)) %>
Reference No. Title Date