{% extends '@RapsysAir/body.html.twig' %} {% block content %} {% trans %}Locations{% endtrans %} {% 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') }} {# dump(calendar) #} {% endblock %}