1 {% extends '@RapsysBlog/_base.html.twig' %}
5 <h2><a href="{{ path('rapsys_user_register') }}">{{ title }}</a></h2>
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>
14 {{ form_start(register) }}
15 {% if register.mail is defined %}
16 {{ form_row(register.mail) }}
19 {% if register.password is defined %}
20 {{ form_row(register.password) }}
23 {% if register.civility is defined %}
24 {{ form_row(register.civility) }}
27 {% if register.forename is defined %}
28 {{ form_row(register.forename) }}
31 {% if register.surname is defined %}
32 {{ form_row(register.surname) }}
35 {% if register.pseudonym is defined %}
36 {{ form_row(register.pseudonym) }}
39 {% if register.slug is defined %}
40 {{ form_row(register.slug) }}
43 {% if register.phone is defined %}
44 {{ form_row(register.phone) }}
47 {{ form_row(register.submit) }}
49 {# Render CSRF token etc .#}
50 <footer style="display:none">{{ form_rest(register) }}</footer>
51 {{ form_end(register) }}