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