]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/login.html.twig
20058778ca67e64d71f270797a9d8f3ca05ba6c0
[airbundle] / Resources / views / form / login.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block content %}
3 <section id="form">
4 <h2><a href="{{ path('rapsys_user_login') }}">{% trans %}Login{% endtrans %}</a></h2>
5 <section>
6 {{ form_start(login) }}
7 <section>
8 {{ form_row(login.mail) }}
9
10 {{ form_row(login.password) }}
11 </section>
12
13 {{ form_row(login.submit) }}
14
15 {# Render CSRF token etc .#}
16 <footer style="display:none">
17 {{ form_rest(login) }}
18 </footer>
19 {{ form_end(login) }}
20 </section>
21 {% if recover is defined %}
22 <section class="recover">
23 <h3>Recover</h3>
24 {{ form_start(recover) }}
25
26 <section>
27 {{ form_row(recover.mail) }}
28 </section>
29
30 {{ form_row(recover.submit) }}
31
32 {# Render CSRF token etc .#}
33 <footer style="display:none">
34 {{ form_rest(recover) }}
35 </footer>
36
37 {{ form_end(recover) }}
38 </section>
39 {% endif %}
40 </section>
41 {% endblock %}