]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/register.html.twig
Add snippet hat field
[airbundle] / Resources / views / form / register.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block title %}{{ site.title }} - {{ title }}{% endblock %}
3 {% block content %}
4 <section id="form">
5 <h2><a href="{{ path('rapsys_user_register') }}">{% trans %}Register{% endtrans %}</a></h2>
6 {% if sent %}
7 <p class="message notice">{% trans %}Your account has been created{% endtrans %}</p>
8 {% else %}
9 {{ form_start(form) }}
10 <div>
11 {{ form_row(form.mail) }}
12
13 {{ form_row(form.password.first) }}
14
15 {{ form_row(form.password.second) }}
16
17 {{ form_row(form.civility) }}
18
19 {{ form_row(form.forename) }}
20
21 {{ form_row(form.surname) }}
22
23 {{ form_row(form.pseudonym) }}
24
25 {{ form_row(form.phone) }}
26
27 {{ form_row(form.submit) }}
28 </div>
29
30 {# Render CSRF token etc .#}
31 <footer style="display:none">{{ form_rest(form) }}</footer>
32 {{ form_end(form) }}
33 {% endif %}
34 </section>
35 {% endblock %}