templates/reset_password/request.html.twig line 1
{# @var ea \EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext #}
{# This template checks for 'ea' variable existence because it can
be used in a EasyAdmin Dashboard controller, where 'ea' is defined
or from any other Symfony controller, where 'ea' is not defined #}
{% extends '@EasyAdmin/page/login_minimal.html.twig' %}
{% trans_default_domain ea is defined ? ea.i18n.translationDomain : (translation_domain is defined ? translation_domain ?? 'messages') %}
{% block body_class 'page-login' %}
{% block page_title %}{{ page_title is defined ? page_title|raw : (ea is defined ? ea.dashboardTitle|raw : '') }}{% endblock %}
{% block head_favicon %}
{% if favicon_path|default(false) %}
<link rel="shortcut icon" href="{{ favicon_path }}">
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
{% block head_stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block wrapper_wrapper %}
{% set page_title = block('page_title') %}
{% set _username_label = username_label is defined ? username_label|trans : 'login_page.username'|trans({}, 'EasyAdminBundle') %}
{% set _password_label = password_label is defined ? password_label|trans : 'login_page.password'|trans({}, 'EasyAdminBundle') %}
{% set _forgot_password_label = forgot_password_label is defined ? forgot_password_label|trans : 'login_page.forgot_password'|trans({}, 'EasyAdminBundle') %}
{% set _remember_me_label = remember_me_label is defined ? remember_me_label|trans : 'login_page.remember_me'|trans({}, 'EasyAdminBundle') %}
{% set _sign_in_label = sign_in_label is defined ? sign_in_label|trans : 'login_page.sign_in'|trans({}, 'EasyAdminBundle') %}
{% include '@EasyAdmin/flash_messages.html.twig' %}
<div class="login-wrapper">
<header class="main-header">
<div id="header-logo">
{% block header_logo %}
<div class="logo mb-3 {{ page_title|length > 14 ? 'logo-long' }}">
<img width="100" src="{{asset("themes/" ~ settings.get.assetFolderName|lower ~ "/images/logo.png" )}}" />
</div>
{% endblock header_logo %}
</div>
</header>
<section class="content">
<div class="container" >
{{ form_start(requestForm) }}
{{ form_row(requestForm.username) }}
<div>
<small>
Entrez votre adresse e-mail et nous vous enverrons un
lien pour réinitialiser votre mot de passe.
</small>
</div>
<button class="btn btn-warning mt-3 d-block btn-lg">RĂ©initialiser votre mot de passe</button>
<a href="{{path('front_home')}}" class="btn mt-3 btn-lg">Annuler</a>
{{ form_end(requestForm) }}
</div>
</section>
</div>
{% endblock %}