+ <%= render(DocumentsYearsComponent.new(current_user: current_user, years: @years)) %>
+
diff --git a/app/views/doctrines/index.html.erb b/app/views/doctrines/index.html.erb
index af9baea..03e59ad 100644
--- a/app/views/doctrines/index.html.erb
+++ b/app/views/doctrines/index.html.erb
@@ -1,3 +1,4 @@
+
<%= render PaginationComponent.new(data: @doctrines) %>
<%= render(DocumentDoctrineIndexComponent.with_collection(@doctrines, current_user: current_user, opts: { is_disable_clickable_link: true, is_doctrines_index: true, subject_ids: params[:subject_ids] })) %>
diff --git a/app/views/documents/index.html.erb b/app/views/documents/index.html.erb
index ab9a3a2..a565676 100644
--- a/app/views/documents/index.html.erb
+++ b/app/views/documents/index.html.erb
@@ -15,7 +15,7 @@
-
<%= render PaginationComponent.new(data: @jurisprudences) %>
+
<%= render PaginationComponent.new(data: @jurisprudences) %>
| Reference No. |
diff --git a/app/views/documents/search.html.erb b/app/views/documents/search.html.erb
index 038b260..81147a0 100644
--- a/app/views/documents/search.html.erb
+++ b/app/views/documents/search.html.erb
@@ -3,8 +3,10 @@
- <% end %>
+ <% end if %>
+
+
<%= render PaginationComponent.new(data: @jurisprudences) %>
| Reference No. |
diff --git a/app/views/documents/show.html.erb b/app/views/documents/show.html.erb
index e0f3e2f..dc37939 100644
--- a/app/views/documents/show.html.erb
+++ b/app/views/documents/show.html.erb
@@ -33,18 +33,13 @@
-
-
-
-
-
- <%= render(DoctrineModalFormComponent.new(current_user: current_user, doctrine: @document.doctrines.new, subjects: @subjects, opts: { form_url: jurisprudence_doctrines_path(jurisprudence_id: @document.id), form_method: :post })) %>
+
+ <%= render(DoctrineModalFormComponent.new(current_user: current_user, doctrine: @document.doctrines.new, subjects: @subjects, opts: { form_url: jurisprudence_doctrines_path(jurisprudence_id: @document.id), form_method: :post })) %>
+
@@ -53,13 +48,24 @@
-
+
<%= raw @document.content.html_safe%>
-
Citator
+
+
+
+ | Reference No. |
+ Title |
+ Date |
+
+
+
+ <%= render(DocumentIndexTableComponent.with_collection(@cited_in_documents, current_user: current_user)) %>
+
+