]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/recover.html.twig
Add locked field
[airbundle] / Resources / views / form / recover.html.twig
index 63f948df9dde52e41f3a412dd51949b8abfbd606..c685361c3476d2a5f8d3448d3788100727cbe093 100644 (file)
@@ -1,15 +1,12 @@
-{% extends '@RapsysAir/base.html.twig' %}
+{% extends '@RapsysAir/body.html.twig' %}
 {% block content %}
        <section id="form">
                <h2><a href="{{ path('rapsys_user_recover') }}">{% trans %}Recover{% endtrans %}</a></h2>
                {% if sent %}
 {% block content %}
        <section id="form">
                <h2><a href="{{ path('rapsys_user_recover') }}">{% trans %}Recover{% endtrans %}</a></h2>
                {% if sent %}
-                       <p>{% trans %}Your recover account message has been sent{% endtrans %}</p>
+                       <p class="message notice">{% trans %}Your recover account message has been sent{% endtrans %}</p>
                {% else %}
                {% else %}
-                       <div>
+                       <section>
                                {{ form_start(form) }}
                                {{ form_start(form) }}
-
-                                       <header>{{ form_errors(form) }}</header>
-
                                        <section>
                                                {{ form_row(form.mail) }}
                                        </section>
                                        <section>
                                                {{ form_row(form.mail) }}
                                        </section>
@@ -20,9 +17,8 @@
                                        <footer style="display:none">
                                                {{ form_rest(form) }}
                                        </footer>
                                        <footer style="display:none">
                                                {{ form_rest(form) }}
                                        </footer>
-
                                {{ form_end(form) }}
                                {{ form_end(form) }}
-                       </div>
+                       </section>
                {% endif %}
        </section>
 {% endblock %}
                {% endif %}
        </section>
 {% endblock %}