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