|
|
|
@ -15,10 +15,10 @@ |
|
|
|
data-controller="subjects" data-subject-parent-id="<%= root.id %>" |
|
|
|
data-controller="subjects" data-subject-parent-id="<%= root.id %>" |
|
|
|
data-accordion-target="#<%= ['doctrinesOffCanvasAccordionBody', root.id].join %>" |
|
|
|
data-accordion-target="#<%= ['doctrinesOffCanvasAccordionBody', root.id].join %>" |
|
|
|
data-action="click->subjects#loadDoctrinesOffcanvasAccordion"> |
|
|
|
data-action="click->subjects#loadDoctrinesOffcanvasAccordion"> |
|
|
|
<%= link_to root.name, subject_index_path(root.id), class: "accordion-link text-decoration-none text-dark d-block sub1 clickable-link" %> |
|
|
|
<%= link_to root.name, search_doctrines_path(subject_ids: [root.id], is_index_table: false), class: "accordion-link text-decoration-none text-dark d-block sub1 clickable-link" %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<% else %> |
|
|
|
<% else %> |
|
|
|
<%= link_to root.name, subject_index_path(root.id), class: "accordion-link text-decoration-none text-dark d-block sub1 clickable-link" %> |
|
|
|
<%= link_to root.name, search_doctrines_path(subject_ids: [root.id], is_index_table: false), class: "accordion-link text-decoration-none text-dark d-block sub1 clickable-link" %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|