{% extends 'base.html.twig' %}
{% block title %}Se Connecter !{% endblock %}
{% block main %}
<div class="d-flex flex-column flex-root">
<!--begin::Authentication - Sign-in -->
<div class="d-flex flex-column flex-column-fluid bgi-position-y-bottom position-x-center bgi-no-repeat bgi-size-contain bgi-attachment-fixed"
style="background-image: url({{ asset('assets/theme/media/illustrations/sketchy-1/14.png') }}">
<!--begin::Content-->
<div class="d-flex flex-center flex-column flex-column-fluid p-10 pb-lg-20">
<!--begin::Logo-->
<a href="{{ path('dashboard') }}" class="mb-12">
<img alt="Logo" src="{{ asset('logos/logo-1.svg') }}" class="h-40px"/>
</a>
<!--end::Logo-->
<!--begin::Wrapper-->
<div class="w-lg-500px bg-body rounded shadow-sm p-10 p-lg-15 mx-auto">
<!--begin::Form-->
{{ form_start(requestForm, {'method': 'POST', 'action': path('app_forgot_password_request'), 'attr': {'id':'kt_sign_in_form','class': 'form w-100'}}) }}
<!--begin::Heading-->
<div class="text-center mb-10">
<!--begin::Title-->
<h1 class="text-dark mb-3">Réinitialiser le mot de passe</h1>
{% for flashError in app.flashes('reset_password_error') %}
<div class="alert alert-danger" role="alert">{{ flashError }}</div>
{% endfor %}
<div class="text-gray-400 fw-bold fs-4">Entrez votre email pour réinitialiser le mot de
passe.
</div>
<!--end::Title-->
</div>
<!--begin::Heading-->
<!--begin::Input group-->
<div class="fv-row mb-10">
<label class="form-label fw-bolder text-gray-900 fs-6">{{ form_label(requestForm.email) }}</label>
{{ form_widget(requestForm.email) }}
</div>
<!--end::Input group-->
<!--begin::Actions-->
<div class="text-center">
<!--begin::Submit button-->
<button type="submit" id="kt_sign_in_submit" class="btn btn-lg btn-primary w-100 mb-5">
<span class="indicator-label">Send password reset email</span>
<span class="indicator-progress">Please wait...
<span class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
</button>
<!--end::Submit button-->
</div>
<!--end::Actions-->
{{ form_end(requestForm) }}
<!--end::Form-->
</div>
<!--end::Wrapper-->
</div>
<!--end::Content-->
<!--begin::Footer-->
<div class="d-flex flex-center flex-column-auto p-10">
<!--begin::Links-->
<div class="d-flex align-items-center fw-bold fs-6">
<div class="text-dark-50 font-size-lg font-weight-bolder mr-10">
<span class="mr-1">2021 ©</span>
<a href="https://smartapps.ma" target="_blank" class="text-dark-75 text-hover-primary">Digital
Smart Apps</a>
</div>
</div>
<!--end::Links-->
</div>
<!--end::Footer-->
</div>
<!--end::Authentication - Sign-in-->
</div>
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('login') }}
{% endblock %}