]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/application/add.html.twig
Add modify link
[airbundle] / Resources / views / application / add.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block content %}
3 <section id="form">
4 <h2>{{ title }}</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.dance) }}
12
13 {{ form_row(form.location) }}
14
15 {{ form_row(form.date) }}
16
17 {{ form_row(form.slot) }}
18
19 {{ form_row(form.submit) }}
20 </div>
21
22 {# render csrf token etc .#}
23 <footer style="display:none">{{ form_rest(form) }}</footer>
24 {{ form_end(form) }}
25 </section>
26 {% endblock %}