{% set bodyBackgroundColor = 'error-not-found' %}
{% extends 'base.html.twig' %}
{% block title %}Alfred - Réinitialisez votre mot de passe{% endblock %}
{% block body %}
{% for flashError in app.flashes('reset_password_error') %}
<div class="alert alert-danger" role="alert">{{ flashError }}</div>
{% endfor %}
<div class="container-fluid">
<div class="logo-section row justify-content-center p-3">
<div class="heading-login p-2 ">Réinitialisez votre mot de passe</div>
</div>
<div class="row justify-content-center">
<div class="col d-none d-sm-block text-center mx-3 align-self-end">
<object class="img-alfred-reset" type="image/svg+xml" data="{{ asset('assets/images/svg/logo_login.svg') }}"></object>
</div>
<div class="col text-center align-self-center mx-4 pt-5">
{{ form_start(requestForm) }}
<div class="form-reset-password p-3">
<div class="row">
<div class="form-paragraph">
Entrez votre adresse email et Alfred vous enverra un lien pour réinitialiser votre mot de passe :
</div>
</div>
<div class="row p-3">
{{ form_row(requestForm.email, {'label': false, 'attr': { 'class': 'form-control'}}) }}
</div>
<button type="submit" class="btn btn-primary" id="submit_email">Envoyez-moi un lien !</button>
</div>
{{ form_end(requestForm) }}
</div>
</div>
</div>
{% endblock %}