1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block title %}{{ site.title }} - {{ title }}{% endblock %}
5 <h2><a href="{{ path('rapsys_user_register') }}">{{ title }}</a></h2>
6 {% if disabled is defined and disabled %}
7 <p class="message error">{% trans %}Your account has been disabled{% endtrans %}</p>
8 {% elseif sent is defined and sent %}
9 <p class="message notice">{% trans %}Your verification mail has been sent, to activate your account you must follow the confirmation link inside{% endtrans %}</p>
10 <p class="message warning">{% trans %}If you did not receive a verification mail, check your Spam or Junk mail folders{% endtrans %}</p>
12 {{ form_start(form) }}
14 {% if form.mail is defined %}
15 {{ form_row(form.mail) }}
18 {% if form.password is defined %}
19 {{ form_row(form.password.first) }}
21 {{ form_row(form.password.second) }}
24 {% if form.civility is defined %}
25 {{ form_row(form.civility) }}
28 {% if form.forename is defined %}
29 {{ form_row(form.forename) }}
32 {% if form.surname is defined %}
33 {{ form_row(form.surname) }}
36 {% if form.pseudonym is defined %}
37 {{ form_row(form.pseudonym) }}
40 {% if form.slug is defined %}
41 {{ form_row(form.slug) }}
44 {% if form.phone is defined %}
45 {{ form_row(form.phone) }}
48 {{ form_row(form.submit) }}
51 {# Render CSRF token etc .#}
52 <footer style="display:none">{{ form_rest(form) }}</footer>