]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/_user.html.twig
Switch on the fly locale with fb_locale=xx set
[airbundle] / Resources / views / form / _user.html.twig
1 <section>
2 <h2>{% trans %}Modify{% endtrans %}</h2>
3 {{ form_start(forms.user) }}
4 <div>
5 {% if forms.user.mail is defined %}
6 {{ form_row(forms.user.mail) }}
7 {% endif %}
8
9 {{ form_row(forms.user.civility) }}
10
11 {{ form_row(forms.user.forename) }}
12
13 {{ form_row(forms.user.surname) }}
14
15 {{ form_row(forms.user.pseudonym) }}
16
17 {{ form_row(forms.user.phone) }}
18
19 {{ form_row(forms.user.submit) }}
20 </div>
21
22 {# render csrf token etc .#}
23 <footer style="display:none">{{ form_rest(forms.user) }}</footer>
24 {{ form_end(forms.user) }}
25 </section>