X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/0dce2e10596c1763fa2a802b71c750013deb9e85..a6d4380f4506309d894f7a80833bca8489b45021:/Resources/views/form/recover_mail.html.twig?ds=sidebyside 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 %}