]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/register.html.twig
Rename rapsysair:calendar2 command to rapsysair:calendar
[airbundle] / Resources / views / form / register.html.twig
1 {% extends '@RapsysAir/base.html.twig' %}
2 {% block content %}
3 <article>
4 <header>
5 <h2><a href="{{ path('rapsysuser_register') }}">{{ title.page }}</a></h2>
6 </header>
7 {% if disabled is defined and disabled %}
8 <p class="message error">{% trans %}Your account has been disabled{% endtrans %}</p>
9 {% elseif sent is defined and sent %}
10 <p class="message notice">{% trans %}Your verification mail has been sent, to activate your account you must follow the confirmation link inside{% endtrans %}</p>
11 <p class="message warning">{% trans %}If you did not receive a verification mail, check your Spam or Junk mail folders{% endtrans %}</p>
12 {% else %}
13 {{ form_start(register) }}
14 {% if register.mail is defined %}
15 {{ form_row(register.mail) }}
16 {% endif %}
17
18 {% if register.password is defined %}
19 {{ form_row(register.password) }}
20 {% endif %}
21
22 {% if register.civility is defined %}
23 {{ form_row(register.civility) }}
24 {% endif %}
25
26 {% if register.forename is defined %}
27 {{ form_row(register.forename) }}
28 {% endif %}
29
30 {% if register.surname is defined %}
31 {{ form_row(register.surname) }}
32 {% endif %}
33
34 {% if register.pseudonym is defined %}
35 {{ form_row(register.pseudonym) }}
36 {% endif %}
37
38 {% if register.slug is defined %}
39 {{ form_row(register.slug) }}
40 {% endif %}
41
42 {% if register.phone is defined %}
43 {{ form_row(register.phone) }}
44 {% endif %}
45
46 {% if register.captcha is defined %}
47 {{ form_row(register.captcha) }}
48 {% endif %}
49
50 {{ form_row(register.submit) }}
51
52 {# Render CSRF token etc .#}
53 <footer style="display:none">{{ form_rest(register) }}</footer>
54 {{ form_end(register) }}
55 {% endif %}
56 </article>
57 {% endblock %}