1 {% extends '@RapsysBlog/_base.html.twig' %}
5 <h2><a href="{{ path('rapsys_user_login') }}">{{ title }}</a></h2>
8 {{ form_start(login) }}
9 {{ form_row(login.mail) }}
11 {{ form_row(login.password) }}
13 {{ form_row(login.submit) }}
15 {# Render CSRF token etc .#}
16 <footer style="display:none">{{ form_rest(login) }}</footer>
20 {% if recover is defined %}
21 <section class="form">
23 <h2><a href="{{ path('rapsys_user_recover') }}">{% trans %}Recover{% endtrans %}</a></h2>
26 {{ form_start(recover) }}
28 {{ form_row(recover.mail) }}
30 {{ form_row(recover.submit) }}
32 {# Render CSRF token etc .#}
33 <footer style="display:none">{{ form_rest(recover) }}</footer>
34 {{ form_end(recover) }}