]> Raphaƫl G. Git Repositories - blogbundle/blob - templates/form/recover.html.twig
Update translations for new context layout
[blogbundle] / templates / form / recover.html.twig
1 {% extends '@RapsysBlog/_base.html.twig' %}
2 {% block content %}
3 <section class="form">
4 <header>
5 <h2><a href="{{ path('rapsysuser_recover') }}">{{ title }}</a></h2>
6 </header>
7 <section>
8 {% if sent %}
9 <p class="message notice">{% trans %}Your account recovery message has been sent{% endtrans %}</p>
10 {% else %}
11 {{ form_start(recover) }}
12 {% if recover.mail is defined %}
13 {{ form_row(recover.mail) }}
14 {% endif %}
15
16 {% if recover.password is defined %}
17 {{ form_row(recover.password) }}
18 {% endif %}
19
20 {{ form_row(recover.submit) }}
21
22 {# Render CSRF token etc .#}
23 <footer style="display:none">{{ form_rest(recover) }}</footer>
24 {{ form_end(recover) }}
25 {% endif %}
26 </section>
27 </section>
28 {% endblock %}