N'affiche pas la page si elle est vide

This commit is contained in:
mckmonster 2024-07-04 20:27:25 +02:00
parent 3dbd7e7f30
commit 3a74666a8f

View file

@ -1,3 +1,4 @@
{% if groups|default %}
<div id="accordion" class="panel-group" role="tablist" aria-multiselectable="true"> <div id="accordion" class="panel-group" role="tablist" aria-multiselectable="true">
{% for identifier, group in groups %} {% for identifier, group in groups %}
<div class="panel panel-default"> <div class="panel panel-default">
@ -10,3 +11,4 @@
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
{% endif %}