{{ block("header", "header.html.twig") }}
MES EMPRUNTS
{% block body %}
{% if app.user.id is defined and app.user.roles.0 == 'ROLE_ELEVE' and eleve.id == app.user.eleve.id or app.user.id is defined and is_granted('ROLE_ADMIN') %} {% for i in eleve.emprunters %} {% endfor %}
Instrument Date Emprunt Date Fin Etat
{{i.instrument.intitule}} {{ i.datedebut|date("d/m/Y")}} {{ i.dateretour|date("d/m/Y")}} {{ i.instrument.etat.libelle}}
{% if is_granted('ROLE_ELEVE') %} {% endif %} {% else %}

Vous ne pouvez pas voir cela !

{% endif %}
{% endblock %}
{{ block("footer", "footer.html.twig") }}