{% extends 'login_admin.html.twig' %}
{% block title %}{{'office'|trans}}{% endblock %}
{% block body %}
<form method="post" action="{{ path('reset_password') }}" class="form-horizontal form-material">
<h3 class="text-center m-b-20">{{'espaceUt'|trans}}</h3>
<div class="alert alert-success" role="alert">
<div class="alert-body">{{'saisirAdresseEmail'|trans}}</div>
</div>
{% for message in app.flashes('failure_register') %}
<div class="flash-notice">
{% if message== true %}
<div class="alert alert-danger" role="alert">
<div class="alert-body">
{{'VerifierEmail'|trans}}
</div>
</div>
{% endif %}
</div>
{% endfor %}
{% for message in app.flashes('failure_recaptcha') %}
<div class="flash-notice">
{% if message== true %}
<div class="alert alert-danger" role="alert">
<div class="alert-body">
{{'cocheCaptcha'|trans}}
</div>
</div>
{% endif %}
</div>
{% endfor %}
<div class="form-group">
<div class="col-xs-12">
{{ form_widget(form.email) }}
</div>
</div>
<div class="g-recaptcha" data-sitekey="6LdCul0hAAAAAEU1_jBA92CxMT3-u7rJzsQRN7xW"></div>
<input type="hidden" name="_csrf_token"
value="{{ csrf_token('authenticate') }}"
>
<div class="form-group text-center">
<div class="col-xs-12 p-b-10 p-t-20">
<button class="btn w-100 btn-success btn-rounded text-white" type="submit">{{'Envoyer'|trans}}</button>
</div>
</div>
</form>
{% endblock %}