{% extends 'security/base_login.html.twig' %}
{% block title %}Reset your password{% endblock %}
{% block menu %}{% endblock %}
{% block footer %}{% endblock %}
{% block stylesheets %}
{{ encore_entry_link_tags('app-client') }}
{% endblock %}
{% block left_image %}{{slug}}-left{% endblock %}
{% block left_title %}{{ displayAccessTitle(slug)|raw }}{% endblock %}
{% block optionalClassForm %}form-container{% endblock %}
{% block optionalClassMentions %}legal-container{% endblock %}
{% block form %}
<div id="form" class=" d-flex flex-column justify-content-center align-items-center">
{% for flash_error in app.flashes('reset_password_error') %}
<p class="text-danger" role="alert">{{ flash_error }}</p>
{% endfor %}
<h3 class="text-center">{{ 'reset_password.title'|trans }}</h3>
<p class="forgot-pwd-underline">
{{ 'reset_password.underline'|trans }}
</p>
{{ form_start(requestForm) }}
{{ form_widget(requestForm.email) }}
<button class="btn mt-0" type="submit">{{ 'reset_password.send_action'|trans }}</button>
{% if slug == "expert" %}
{% set slug = "specialist" %}
{% endif %}
<div class="col-12 d-flex justify-content-center mt-4">
<a class="text-center company-code-return" href="{{ path('app_login_'~ slug)}}">Retour</a>
</div>
</div>
{{ form_end(requestForm) }}
</div>
{% endblock %}