X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/653cfc153b29c84533b00d29a92510339c6358ca..c97d3ebb980d5ead80f19db03958bf40b06d9c26:/Resources/views/form/recover_mail.html.twig?ds=inline diff --git a/Resources/views/form/recover_mail.html.twig b/Resources/views/form/recover_mail.html.twig index 081376e..9389be9 100644 --- a/Resources/views/form/recover_mail.html.twig +++ b/Resources/views/form/recover_mail.html.twig @@ -3,15 +3,12 @@ <section id="form"> <h2><a href="{{ path('rapsys_user_recover') }}">{% trans %}Recover{% endtrans %}</a></h2> {% if sent %} - <p>{% trans %}Your password is updated and an account recover message has been sent{% endtrans %}</p> - {% elseif notfound %} - <p>{% trans %}Unable to find account{% endtrans %}</p> + <p class="message notice">{% trans %}Your password is updated and an account recover message has been sent{% endtrans %}</p> + {% elseif not found %} + <p class="message error">{% trans %}Unable to find account{% endtrans %}</p> {% else %} - <div> + <section> {{ form_start(form) }} - - <header>{{ form_errors(form) }}</header> - <section> {{ form_row(form.password) }} </section> @@ -22,9 +19,8 @@ <footer style="display:none"> {{ form_rest(form) }} </footer> - {{ form_end(form) }} - </div> + </section> {% endif %} </section> {% endblock %}