1 {% extends '@RapsysAir/base.html.twig' %}
5 <h2><a href="{{ path('rapsysuser_register') }}">{{ title.page }}</a></h2>
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>
13 {{ form_start(register) }}
14 {% if register.mail is defined %}
15 {{ form_row(register.mail) }}
18 {% if register.password is defined %}
19 {{ form_row(register.password) }}
22 {% if register.civility is defined %}
23 {{ form_row(register.civility) }}
26 {% if register.forename is defined %}
27 {{ form_row(register.forename) }}
30 {% if register.surname is defined %}
31 {{ form_row(register.surname) }}
34 {% if register.pseudonym is defined %}
35 {{ form_row(register.pseudonym) }}
38 {% if register.slug is defined %}
39 {{ form_row(register.slug) }}
42 {% if register.phone is defined %}
43 {{ form_row(register.phone) }}
46 {% if register.captcha is defined %}
47 {{ form_row(register.captcha) }}
50 {{ form_row(register.submit) }}
52 {# Render CSRF token etc .#}
53 <footer style="display:none">{{ form_rest(register) }}</footer>
54 {{ form_end(register) }}