{% extends '@RapsysAir/body.html.twig' %} {% block content %} {{ section }} {% if calendar is defined and calendar %} {% for date, day in calendar %} {{ day.title }} {% if day.sessions is not empty %} {% for session in day.sessions %} {{ session.title }} {% endfor %} {% endif %} {% if loop.index % 7 == 0 and not loop.last %} {% endif %} {% endfor %} {% endif %} {{ include('@RapsysAir/form/_toolbox.html.twig') }} {% if locations is defined and locations %} {% for id, title in locations %} {{ title }} {% if loop.index % 7 == 0 and not loop.last %} {% endif %} {% endfor %} {% endif %} {% endblock %}