]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/register.html.twig
Add libre air logo translation
[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('rapsys_user_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 {{ form_row(register.submit) }}
47
48 {# Render CSRF token etc .#}
49 <footer style="display:none">{{ form_rest(register) }}</footer>
50 {{ form_end(register) }}
51 {% endif %}
52 </article>
53 {% endblock %}