]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/user/edit.html.twig
Optionalize each account field
[airbundle] / Resources / views / user / edit.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.mail is defined %}
8 {{ form_row(form.mail) }}
9 {% endif %}
10
11 {{ form_row(form.civility) }}
12
13 {{ form_row(form.forename) }}
14
15 {{ form_row(form.surname) }}
16
17 {{ form_row(form.pseudonym) }}
18
19 {{ form_row(form.phone) }}
20
21 {{ form_row(form.submit) }}
22 </div>
23
24 {# render csrf token etc .#}
25 <footer style="display:none">{{ form_rest(form) }}</footer>
26 {{ form_end(form) }}
27 </section>
28 {% endblock %}