]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/_application.html.twig
Add user edit form
[airbundle] / Resources / views / form / _application.html.twig
1 <section>
2 <h2>{% trans %}Application{% endtrans %}</h2>
3 {{ form_start(forms.application) }}
4 <div>
5 {% if forms.application.user is defined %}
6 {{ form_row(forms.application.user) }}
7 {% endif %}
8
9 {{ form_row(forms.application.location) }}
10
11 {{ form_row(forms.application.date) }}
12
13 {{ form_row(forms.application.slot) }}
14
15 {{ form_row(forms.application.submit) }}
16 </div>
17
18 {# render csrf token etc .#}
19 <footer style="display:none">{{ form_rest(forms.application) }}</footer>
20 {{ form_end(forms.application) }}
21 </section>