]> Raphaƫl G. Git Repositories - userbundle/blob - templates/login.html.twig
Add bundle translations
[userbundle] / templates / login.html.twig
1 {% extends '@RapsysUser/base.html.twig' %}
2 {% block content %}
3 <section id="rapsysuser_login">
4 <header>
5 <h2><a href="{{ self_url }}">{{ title }}</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 </section>
20 {% if recover is defined %}
21 <section id="rapsysuser_recover">
22 <header>
23 <h2><a href="{{ recover_url }}">{% trans from "rapsysuser" %}Recover{% endtrans %}</a></h2>
24 </header>
25 {{ form_start(recover) }}
26 <div>
27 {{ form_row(recover.mail) }}
28
29 {{ form_row(recover.submit) }}
30 </div>
31
32 {# Render CSRF token etc .#}
33 <footer style="display:none">{{ form_rest(recover) }}</footer>
34 {{ form_end(recover) }}
35 </section>
36 {% endif %}
37 {% endblock %}