]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/_register.html.twig
Add Repository namespace
[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.slug is defined %}
32 {{ form_row(forms.register.slug) }}
33 {% endif %}
34
35 {% if forms.register.phone is defined %}
36 {{ form_row(forms.register.phone) }}
37 {% endif %}
38
39 {{ form_row(forms.register.submit) }}
40 </div>
41
42 {# Render CSRF token etc .#}
43 <footer style="display:none">{{ form_rest(forms.register) }}</footer>
44 {{ form_end(forms.register) }}
45 </section>