1 {% extends '@RapsysUser/base.html.twig' %}
3 <section id="rapsysuser_register">
5 <h2><a href="{{ self_url }}">{{ title }}</a></h2>
7 {% if disabled is defined and disabled %}
8 <p class="message error">{% trans from "rapsysuser" %}Your account has been disabled{% endtrans %}</p>
9 {% elseif sent is defined and sent %}
10 <p class="message notice">{% trans from "rapsysuser" %}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 from "rapsysuser" %}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.phone is defined %}
35 {{ form_row(register.phone) }}
38 {% if register.captcha is defined %}
39 {{ form_row(register.captcha) }}
42 {{ form_row(register.submit) }}
44 {# Render CSRF token etc .#}
45 <footer style="display:none">{{ form_rest(register) }}</footer>
46 {{ form_end(register) }}