{% extends 'Layouts/layout.html.twig' %}
{% block title %}Reset your password{% endblock %}
{% block content %}
<div class="container">
<div class="row align-items-center justify-content-center" style="height: 80vh;">
<div class="col-12 col-sm-8 col-md-5">
{% for flash_error in app.flashes('reset_password_error') %}
<div class="alert alert-danger" role="alert">{{ flash_error }}</div>
{% endfor %}
{#{ form_start(requestForm) }#}
<form name="reset_password_request_form" method="post" class="box one p-5">
<h3 class="mb-5 mt-2" >{% trans %}Reset your password{% endtrans %}</h3>
<div class="mb-3">
<label for="reset_password_request_form_email" class="form-label">{% trans %}Email{% endtrans %}:</label>
{{ form_widget(requestForm.email) }}
</div>
{#{ form_row(requestForm.email) }#}
<div>
<small>
{% trans %}Enter your email address and we will send you an email with a link that will let you reset your password{% endtrans %}.
</small>
</div>
<div class="d-grid gap-2 mt-5">
<button class="btn btn-primary">{% trans %}Send password reset email{% endtrans %}</button>
</div>
<div class="d-grid gap-2 mt-5">
<p> <a href="{{ path('app_login') }}">{% trans %}Back to login{% endtrans %}</a></p>
</div>
{{ form_end(requestForm) }}
</div>
</div>
</div>
{% endblock %}