1 {% extends '@RapsysAir/base.html.twig' %}
3 <section id="dashboard">
4 <h2>{% trans %}Dashboard{% endtrans %}</h2>
6 {% if calendar is defined and calendar %}
10 {% for date, day in calendar %}
11 <td class="{{ ['cell', 'seventh']|merge(day.class)|join(' ') }}">
12 <h3>{{ day.title }}</h3>
13 {% if day.sessions is not empty %}
15 {% for session in day.sessions %}
16 <li class="{{ ['session']|merge(session.class)|join(' ') }}">
17 <a href="{{ path('rapsysair_session', {'id': session.id}) }}" title="{{ session.title }}">{{ session.title }}</a>
23 {% if loop.index % 7 == 0 and not loop.last %}
33 {{ form_start(form) }}
35 <header>{{ form_errors(form) }}</header>
38 {{ form_row(form.location) }}
40 {{ form_row(form.date) }}
42 {{ form_row(form.slot) }}
45 {{ form_row(form.submit) }}
47 {# Render CSRF token etc .#}
48 <footer style="display:none">