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