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