55 lines
1.5 KiB
Twig
Executable File
55 lines
1.5 KiB
Twig
Executable File
{% extends 'base.html.twig' %}
|
|
|
|
{% block body %}
|
|
|
|
{{ form_start(form) }}
|
|
<h1 class="page-header">
|
|
Réinitialisation du mot de passe
|
|
</h1>
|
|
|
|
{{ form_widget(form.submit) }}
|
|
|
|
{% if form.captcha is defined %}
|
|
{{ form_label(form.captcha) }}
|
|
{{ form_widget(form.captcha) }}
|
|
{% endif %}
|
|
|
|
<br><br>
|
|
|
|
{% if app.session.flashbag.has('error') %}
|
|
<div class='alert alert-danger' style='margin: 5px 0px'>
|
|
<strong>Erreur</strong><br>
|
|
{% for flashMessage in app.session.flashbag.get('error') %}
|
|
{{ flashMessage }}<br>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if app.session.flashbag.has('notice') %}
|
|
<div class='alert alert-info' style='margin: 5px 0px'>
|
|
<strong>Information</strong><br>
|
|
{% for flashMessage in app.session.flashbag.get('notice') %}
|
|
{{ flashMessage }}<br>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<i class="fa fa-key fa-fw"></i> Etape 01
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
{{ form_label(form.email) }}
|
|
{{ form_widget(form.email) }}
|
|
|
|
<div class='alert alert-info' style='font-size: 80%;padding: 5px;margin-top: -10px;'>
|
|
Veuillez saisir l'adresse mail que vous avez utilisé pour votre compte.<br>
|
|
Vous recevrez un lien permettant de réinitialiser votre mot de passe.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{ form_end(form) }}
|
|
{% endblock %}
|
|
|