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