{% extends '@EckinoxAdminUi/base.html.twig' %}
{% block title %}{% trans %}eckinox_admin_ui.titles.reset_your_password{% endtrans %}{% endblock %}
{% block body %}
<div class="main d-flex justify-content-center w-100">
<main class="content d-flex p-0">
<div class="container d-flex flex-column">
<div class="row h-100">
<div class="col-sm-10 col-md-8 col-lg-6 mx-auto d-table h-100">
<div class="d-table-cell align-middle">
<div class="text-center mt-4 mb-4">
{% block app_logo %}{% endblock %}
<h1 class="h2">{% trans %}eckinox_admin_ui.titles.reset_your_password{% endtrans %}</h1>
</div>
<div class="card">
<div class="card-body">
<div class="m-sm-4">
{% for error in app.flashes('reset_password_error') %}
<div class="alert alert-danger alert-outline-coloured alert-dismissible" role="alert">
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
<div class="alert-icon d-flex align-items-center">
<i class="far fa-fw fa-bell"></i>
</div>
<div class="alert-message">
{{ error }}
</div>
</div>
{% endfor %}
{{ form_start(requestForm) }}
{{ form_row(requestForm.email, { row_attr: { class: 'mb-3' }, attr: { class: 'form-control form-control-lg' } } ) }}
<div class="alert alert-secondary" role="alert">
<div class="alert-message">
{% trans %}eckinox_admin_ui.messages.enter_your_address_email{% endtrans %}
</div>
</div>
<div class="text-center mt-3">
<button type="submit" class="btn btn-lg btn-primary">
{% trans %}eckinox_admin_ui.buttons.reset_password{% endtrans %}
</button>
</div>
{{ form_end(requestForm) }}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
{% endblock %}