]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/edit.html.twig
Import base command
[airbundle] / Resources / views / form / edit.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block title %}{{ site.title }} - {{ title }}{% endblock %}
3 {% block content %}
4 <article>
5 <header>
6 <h2><a href="{{ app.request.requesturi }}">{{ title }}</a></h2>
7 </header>
8 {{ form_start(edit) }}
9 <div>
10 {% if edit.mail is defined %}
11 {{ form_row(edit.mail) }}
12 {% endif %}
13
14 {% if edit.civility is defined %}
15 {{ form_row(edit.civility) }}
16 {% endif %}
17
18 {% if edit.forename is defined %}
19 {{ form_row(edit.forename) }}
20 {% endif %}
21
22 {% if edit.surname is defined %}
23 {{ form_row(edit.surname) }}
24 {% endif %}
25
26 {% if edit.pseudonym is defined %}
27 {{ form_row(edit.pseudonym) }}
28 {% endif %}
29
30 {% if edit.zipcode is defined %}
31 {{ form_row(edit.zipcode) }}
32 {% endif %}
33
34 {% if edit.city is defined %}
35 {{ form_row(edit.city) }}
36 {% endif %}
37
38 {% if edit.country is defined %}
39 {{ form_row(edit.country) }}
40 {% endif %}
41
42 {% if edit.phone is defined %}
43 {{ form_row(edit.phone) }}
44 {% endif %}
45
46 {{ form_row(edit.submit) }}
47 </div>
48
49 {# Render CSRF token etc .#}
50 <footer style="display:none">{{ form_rest(edit) }}</footer>
51 {{ form_end(edit) }}
52 </article>
53 {% if reset is defined %}
54 <article>
55 <header>
56 <h2><a href="{{ app.request.requesturi }}">{{ password }}</a></h2>
57 </header>
58 {{ form_start(reset) }}
59 <div>
60 {% if reset.password is defined %}
61 {{ form_row(reset.password.first) }}
62
63 {{ form_row(reset.password.second) }}
64 {% endif %}
65
66 {{ form_row(reset.submit) }}
67 </div>
68
69 {# Render CSRF token etc .#}
70 <footer style="display:none">{{ form_rest(reset) }}</footer>
71 {{ form_end(reset) }}
72 </article>
73 {% endif %}
74 {% endblock %}