]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/user/edit.html.twig
Transform title in name and type
[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 {% if form.civility is defined %}
12 {{ form_row(form.civility) }}
13 {% endif %}
14
15 {% if form.forename is defined %}
16 {{ form_row(form.forename) }}
17 {% endif %}
18
19 {% if form.surname is defined %}
20 {{ form_row(form.surname) }}
21 {% endif %}
22
23 {% if form.pseudonym is defined %}
24 {{ form_row(form.pseudonym) }}
25 {% endif %}
26
27 {% if form.slug is defined %}
28 {{ form_row(form.slug) }}
29 {% endif %}
30
31 {% if form.phone is defined %}
32 {{ form_row(form.phone) }}
33 {% endif %}
34
35 {{ form_row(form.submit) }}
36 </div>
37
38 {# render csrf token etc .#}
39 <footer style="display:none">{{ form_rest(form) }}</footer>
40 {{ form_end(form) }}
41 </section>
42 {% endblock %}