{% block stylesheets %} {% endblock %} {% block facture %}{% endblock %}
{% set currentPath = path( app.request.attributes.get('_route'), app.request.attributes.get('_route_params') ) %} {% if currentPath != path('register') and currentPath != path('app_login') %} {% if app.user.getRoles()[0] == 'ROLE_TEACHER' %} {% include 'components/leftBarFormateur.html.twig' %} {% else %} {% include 'components/leftBar.html.twig' %} {% endif %} {% endif %}