Subjects
<% Cdao::Subject.roots.order(name: :asc).each do |root| %>
<% if root.children.present? %> <% else %> <%= link_to root.name, subject_index_path(root.id), class: "accordion-link text-decoration-none text-dark d-block sub1 clickable-link" %> <% end %>
" data-bs-parent="#mainPanel<%= root.id %>">
<%= render(SubjectAccordionComponent.new(current_user: current_user, parent: root)) %>
<% end %>