ynh_extension_meeo/templates/edu_absences.twig
2024-07-04 20:27:25 +02:00

14 lines
No EOL
650 B
Twig

{% if groups|default %}
<div id="accordion" class="panel-group" role="tablist" aria-multiselectable="true">
{% for identifier, group in groups %}
<div class="panel panel-default">
<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 in" aria-expanded="false">
{% include '@meeo/eleve_absences.twig' with { 'entries' : group['entries'] } %}
</div>
</div>
{% endfor %}
</div>
{% endif %}