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