]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/recover.html.twig
Prefix title with site title
[airbundle] / Resources / views / form / recover.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block title %}{{ site.title }} - {{ title }}{% endblock %}
3 {% block content %}
4 <section id="form">
5 <h2><a href="{{ path('rapsys_user_recover') }}">{% trans %}Recover{% endtrans %}</a></h2>
6 {% if sent %}
7 <p class="message notice">{% trans %}Your recover account message has been sent{% endtrans %}</p>
8 {% else %}
9 {{ form_start(form) }}
10 <div>
11 {{ form_row(form.mail) }}
12
13 {{ form_row(form.submit) }}
14 </div>
15
16 {# Render CSRF token etc .#}
17 <footer style="display:none">{{ form_rest(form) }}</footer>
18 {{ form_end(form) }}
19 {% endif %}
20 </section>
21 {% endblock %}