]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/recover.html.twig
Add session edit type form
[airbundle] / Resources / views / form / recover.html.twig
index 74043fb79fc24c6e26fd95fec88fcb1e3390dfbb..c685361c3476d2a5f8d3448d3788100727cbe093 100644 (file)
@@ -3,13 +3,10 @@
        <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 %}
-                       <div>
+                       <section>
                                {{ form_start(form) }}
-
-                                       <header>{{ form_errors(form) }}</header>
-
                                        <section>
                                                {{ form_row(form.mail) }}
                                        </section>
@@ -20,9 +17,8 @@
                                        <footer style="display:none">
                                                {{ form_rest(form) }}
                                        </footer>
-
                                {{ form_end(form) }}
-                       </div>
+                       </section>
                {% endif %}
        </section>
 {% endblock %}