]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/register.html.twig
Fix configuration tree
[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 </section>
30
31 {{ form_row(form.submit) }}
32
33 {# Render CSRF token etc .#}
34 <footer style="display:none">
35 {{ form_rest(form) }}
36 </footer>
37
38 {{ form_end(form) }}
39 </div>
40 {% endif %}
41 </section>
42 {% endblock %}