ynh_extension_meeo/templates/absences.twig
2024-07-04 09:27:29 +02:00

23 lines
No EOL
835 B
Twig

<div id="accordion" class="panel-group" role="tablist" aria-multiselectable="true">
{% for identifier, group in groups %}
<div class="panel">
<button id="head_{{ identifier }}" class="panel-heading collapsed" data-parent="#accordion" data-target="#{{ identifier }}" data-toggle="collapse" aria-expanded="false">
<h4 class="panel-title">{{ group['nom'] }}</h4>
</button>
<div id="{{ identifier }}" class="panel-collapse collapse" aria-expanded="false">
<div class="panel-body">
<ul>
{% for entry in group['entries'] %}
<li>
<div>
{{ entry['bf_date_debut_evenement'] }}
<p>{{ entry['bf_commentaire'] }}</p>
</div>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
{% endfor %}
</div>