1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block title %}{{ site.title }} - {{ title }}{% endblock %}
5 <h2><a href="{{ path('rapsys_user_login') }}">{% trans %}Login{% endtrans %}</a></h2>
6 {{ form_start(login) }}
8 {{ form_row(login.mail) }}
10 {{ form_row(login.password) }}
12 {{ form_row(login.submit) }}
15 {# Render CSRF token etc .#}
16 <footer style="display:none">{{ form_rest(login) }}</footer>
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) }}
25 {{ form_row(recover.mail) }}
27 {{ form_row(recover.submit) }}
30 {# Render CSRF token etc .#}
31 <footer style="display:none">{{ form_rest(recover) }}</footer>
32 {{ form_end(recover) }}