Commit d3a7342301b96791757eae3c80d87d773d818bfa

Authored by felipebormann
1 parent b0b22052

solved accordion open-close problem in resources list

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
subjects/templates/subjects/list_search.html
@@ -71,7 +71,7 @@ @@ -71,7 +71,7 @@
71 {% elif resources|length > 0 and all %} 71 {% elif resources|length > 0 and all %}
72 <div class="panel-group" id="subject-accordion" role="tablist" aria-multiselectable="true"> 72 <div class="panel-group" id="subject-accordion" role="tablist" aria-multiselectable="true">
73 {% for resource in resources %} 73 {% for resource in resources %}
74 - {% include "subjects/resource_card.html" with resource=resource %} 74 + {% include "subjects/resource_card.html" with resource=resource accordion_id="subject-accordion" %}
75 {% endfor %} 75 {% endfor %}
76 76
77 {% pagination request paginator page_obj %} 77 {% pagination request paginator page_obj %}