1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block title %}{{ site.title }} - {{ title }}{% endblock %}
6 <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(form) }}
16 {% if form.mail is defined %}
17 {{ form_row(form.mail) }}
20 {% if form.password is defined %}
21 {{ form_row(form.password.first) }}
23 {{ form_row(form.password.second) }}
26 {% if form.civility is defined %}
27 {{ form_row(form.civility) }}
30 {% if form.forename is defined %}
31 {{ form_row(form.forename) }}
34 {% if form.surname is defined %}
35 {{ form_row(form.surname) }}
38 {% if form.pseudonym is defined %}
39 {{ form_row(form.pseudonym) }}
42 {% if form.slug is defined %}
43 {{ form_row(form.slug) }}
46 {% if form.phone is defined %}
47 {{ form_row(form.phone) }}
50 {{ form_row(form.submit) }}
53 {# Render CSRF token etc .#}
54 <footer style="display:none">{{ form_rest(form) }}</footer>