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