]> Raphaƫl G. Git Repositories - userbundle/blob - templates/register.html.twig
Remove defaultgroup
[userbundle] / templates / register.html.twig
1 {% trans_default_domain 'rapsysuser' %}
2 {% extends '@RapsysUser/_base.html.twig' %}
3 {% block content %}
4 <section id="rapsysuser_register">
5 <header>
6 <h2><a href="{{ self_url }}">{{ title }}</a></h2>
7 </header>
8 {% if disabled is defined and disabled %}
9 <p class="message error">{% trans %}Your account has been disabled{% endtrans %}</p>
10 {% else %}
11 {{ form_start(register) }}
12 {% if register.mail is defined %}
13 {{ form_row(register.mail) }}
14 {% endif %}
15
16 {% if register.password is defined %}
17 {{ form_row(register.password) }}
18 {% endif %}
19
20 {% if register.civility is defined %}
21 {{ form_row(register.civility) }}
22 {% endif %}
23
24 {% if register.forename is defined %}
25 {{ form_row(register.forename) }}
26 {% endif %}
27
28 {% if register.surname is defined %}
29 {{ form_row(register.surname) }}
30 {% endif %}
31
32 {% if register.phone is defined %}
33 {{ form_row(register.phone) }}
34 {% endif %}
35
36 {% if register.captcha is defined %}
37 {{ form_row(register.captcha) }}
38 {% endif %}
39
40 {{ form_row(register.submit) }}
41
42 {# Render CSRF token etc .#}
43 <footer style="display:none">{{ form_rest(register) }}</footer>
44 {{ form_end(register) }}
45 {% endif %}
46 </section>
47 {% endblock %}