{% trans_default_domain easyadmin_config('translation_domain') %}
{% extends easyadmin_config('design.templates.layout') %}
{% block body_class 'page-login' %}
{% block wrapper_wrapper %}
<div class="login-wrapper">
<header class="main-header mb-4">
<div id="header-logo">
{% block header_logo %}
<a class="logo {{ easyadmin_config('site_name')|length > 14 ? 'logo-long' }}" title="{{ easyadmin_config('site_name')|striptags }}" href="{{ path('easyadmin') }}">
<img src="{{ asset('assets/img/logo-top.png') }}" alt="">
</a>
{% endblock header_logo %}
</div>
</header>
{% for flash_error in app.flashes('reset_password_error') %}
<div class="alert alert-danger" role="alert">{{ flash_error }}</div>
{% endfor %}
<section class="content">
<h2>{{ 'reset_password.title_cab'|trans }}</h2>
{{ form_start(requestForm) }}
<div class="form-group">
{{ form_row(requestForm.email) }}
</div>
<div class="form-group">
<small>
{{ 'reset_password.text_indications'|trans }}
</small>
</div>
<div class="form-group">
<button class="btn btn-primary btn-lg">{{ 'reset_password.text_button'|trans }}</button>
</div>
<div class="form-group">
<a class="btn btn-secondary" href="{{ path('app_login') }}">{{ 'reset_password.return_login'|trans }}</a>
</div>
{{ form_end(requestForm) }}
</section>
</div>
{% endblock %}