]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/register.html.twig
d50c5d0142b20c3904e6b75c6806c06919d1e755
[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.title) }}
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.donation) }}
28
29 {{ form_row(form.site) }}
30
31 {{ form_row(form.submit) }}
32 </div>
33
34 {# Render CSRF token etc .#}
35 <footer style="display:none">{{ form_rest(form) }}</footer>
36 {{ form_end(form) }}
37 {% endif %}
38 </section>
39 {% endblock %}