]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/login.html.twig
Rename flash class in message
[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>
23 <h3>Recover</h3>
24 {{ form_start(recover) }}
25
26 <section>
27 {{ form_row(recover.mail) }}
28
29 {{ form_row(recover.submit) }}
30 </section>
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 %}