]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/_register.html.twig
Move all stuff in AbstractController
[airbundle] / Resources / views / form / _register.html.twig
1 <section>
2 <h2><a href="{{ path('rapsys_user_register') }}">{% trans %}Register{% endtrans %}</a></h2>
3 {{ form_start(forms.register) }}
4 <div>
5 {% if forms.register.mail is defined %}
6 {{ form_row(forms.register.mail) }}
7 {% endif %}
8
9 {% if forms.register.password is defined %}
10 {{ form_row(forms.register.password.first) }}
11
12 {{ form_row(forms.register.password.second) }}
13 {% endif %}
14
15 {% if forms.register.civility is defined %}
16 {{ form_row(forms.register.civility) }}
17 {% endif %}
18
19 {% if forms.register.forename is defined %}
20 {{ form_row(forms.register.forename) }}
21 {% endif %}
22
23 {% if forms.register.surname is defined %}
24 {{ form_row(forms.register.surname) }}
25 {% endif %}
26
27 {% if forms.register.pseudonym is defined %}
28 {{ form_row(forms.register.pseudonym) }}
29 {% endif %}
30
31 {% if forms.register.phone is defined %}
32 {{ form_row(forms.register.phone) }}
33 {% endif %}
34
35 {{ form_row(forms.register.submit) }}
36 </div>
37
38 {# Render CSRF token etc .#}
39 <footer style="display:none">{{ form_rest(forms.register) }}</footer>
40 {{ form_end(forms.register) }}
41 </section>