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" %> <%= link_to "Add Sub Level", new_subject_index_path(parent_id: root.id), class: "btn btn-success text-decoration-none d-block sub1 clickable-link position-absolute end-0 accordion-action-button-margin" %> <% end %>
" data-bs-parent="#mainPanel<%= root.id %>">
Loading...
<% end %>