63 lines
1.8 KiB
Twig
Executable File
63 lines
1.8 KiB
Twig
Executable File
{% extends 'base.html.twig' %}
|
|
|
|
{% block localstyle %}
|
|
<style>
|
|
.captcha_image {
|
|
display:block;
|
|
}
|
|
#alertpassword input,#alertpassword label { display:none }
|
|
#alertpassword .form-group {margin:0px !important }
|
|
</style>
|
|
{% endblock %}
|
|
|
|
|
|
{% 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 02
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
{{ form_row(form.password) }}
|
|
<div id="alertpassword">{{ form_row(form.passwordplain) }}</div>
|
|
<div class='alert alert-info' style='font-size: 80%;padding: 5px;margin-top:-2px; border-radius:0px 0px 0.25rem 0.25rem'>
|
|
Le mot de passe doit comporter au moins 8 caractères, avec obligatoirement des lettres, chiffres et caractères spéciaux.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{ form_end(form) }}
|
|
{% endblock %}
|
|
|