]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/login.html.twig
Add index function
[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 {{ form_start(login) }}
6 <section>
7 {{ form_row(login.mail) }}
8
9 {{ form_row(login.password) }}
10
11 {{ form_row(login.submit) }}
12 </section>
13
14 {# Render CSRF token etc .#}
15 <footer style="display:none">{{ form_rest(login) }}</footer>
16 {{ form_end(login) }}
17 </section>
18 {% if recover is defined %}
19 <section id="recover">
20 <h2><a href="{{ path('rapsys_user_recover') }}">{% trans %}Recover{% endtrans %}</a></h2>
21 {{ form_start(recover) }}
22
23 <div>
24 {{ form_row(recover.mail) }}
25
26 {{ form_row(recover.submit) }}
27 </div>
28
29 {# Render CSRF token etc .#}
30 <footer style="display:none">{{ form_rest(recover) }}</footer>
31 {{ form_end(recover) }}
32 </section>
33 {% endif %}
34 {% endblock %}