]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/register.html.twig
Change layout to have only section with subtitle inside
[airbundle] / Resources / views / form / register.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block content %}
3 <section id="form">
4 <h2>{{ title|trans }}</h2>
5 {% if sent %}
6 <p class="message notice">{% trans %}Your account has been created{% endtrans %}</p>
7 {% else %}
8 <section>
9 {{ form_start(form) }}
10 <section>
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 </section>
27
28 {{ form_row(form.submit) }}
29
30 {# Render CSRF token etc .#}
31 <footer style="display:none">
32 {{ form_rest(form) }}
33 </footer>
34 {{ form_end(form) }}
35 </section>
36 {% endif %}
37 </section>
38 {% endblock %}