This commit is contained in:
Kostiantyn Stoliarskyi 2023-06-01 15:35:19 +03:00
parent f442662103
commit 7a0299dab9
2 changed files with 5 additions and 3 deletions

View File

@ -97,7 +97,7 @@
{% endif %}
</div>
<!-- prettier-ignore -->
<div id="accordion-collapse-body-{{collection.id}}" class="hidden" aria-labelledby="accordion-collapse-heading-{{collection.id}}">
<div id="accordion-collapse-body-{{collection.id}}" class="hidden" aria-labelledby="accordion-collapse-heading-{{collection.id}}" >
{{recursive_render("book/components/sub_collection_tab_content.html",collection,book)|safe}}
</div>
{% endfor %}

View File

@ -96,8 +96,10 @@
id="draggableSectionItems"
data-collection-id="{{collection.id}}">
<!-- here comes for loop for all section in this collection-->
{% for section in collection.active_sections %} {% include
'book/components/section_tab_content.html' %} {% endfor %}
{% for section in collection.active_sections %}
<!-- prettier-ignore -->
{% include 'book/components/section_tab_content.html' %}
{% endfor %}
</div>
{% endif %}
</div>