]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/application/add.html.twig
Fix coalesce warning
[airbundle] / Resources / views / application / add.html.twig
1 {% extends '@RapsysAir/base.html.twig' %}
2 {% block content %}
3 <section id="form">
4 <header>
5 <h2>{{ title.page }}</h2>
6 <p>{{ description }}</p>
7 </header>
8 {{ form_start(form) }}
9 <div>
10 {% if form.user is defined %}
11 {{ form_row(form.user) }}
12 {% endif %}
13
14 {{ form_row(form.dance) }}
15
16 {{ form_row(form.location) }}
17
18 {{ form_row(form.date) }}
19
20 {{ form_row(form.slot) }}
21
22 {{ form_row(form.submit) }}
23 </div>
24
25 {# render csrf token etc .#}
26 <footer style="display:none">{{ form_rest(form) }}</footer>
27 {{ form_end(form) }}
28 </section>
29 {% endblock %}