]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/register.html.twig
Add common toolbox
[airbundle] / Resources / views / form / register.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block content %}
3 <section id="form">
4 <h2>{{ title|trans }}</h2>
5 {% if sent %}
6 <p class="notice">{% trans %}Your account has been created{% endtrans %}</p>
7 {% else %}
8 <section>
9 {{ form_start(form) }}
10 <section>
11 {{ form_row(form.mail) }}
12
13 {{ form_row(form.password.first) }}
14
15 {{ form_row(form.password.second) }}
16 </section>
17
18 <section>
19 {{ form_row(form.title) }}
20
21 {{ form_row(form.forename) }}
22
23 {{ form_row(form.surname) }}
24
25 {{ form_row(form.pseudonym) }}
26
27 {{ form_row(form.phone) }}
28 </section>
29
30 {{ form_row(form.submit) }}
31
32 {# Render CSRF token etc .#}
33 <footer style="display:none">
34 {{ form_rest(form) }}
35 </footer>
36 {{ form_end(form) }}
37 </section>
38 {% endif %}
39 </section>
40 {% endblock %}