{% extends 'base.html.twig' %}
{% block title %}Reset your password{% endblock %}
{% block body %}
<div class="container overflow-hidden">
<div class="row align-items-center justify-content-center min-vh-100">
<div class="col-sm-8 align-items-center d-block">
{{ form_start(requestForm) }}
{% for flash_error in app.flashes('reset_password_error') %}
<div class="alert alert-danger" role="alert">{{ flash_error }}</div>
{% endfor %}
{% if app.user %}
<div class="mb-3">
You are logged in as {{ app.user.userIdentifier }}, <a href="{{ path('app_logout') }}">Logout</a>
</div>
{% endif %}
<div class="row">
<div class="col-sm-12">
<img src="/build/images/logo.png" class="img-fluid logo mb-3"/>
<h1 class="h3 mb-2 fw-bold">Reset your password</h1>
<p>Back to <a href="/">Log In</a></p>
</div>
</div>
<div class="row mb-4">
<div class="col-sm-12">
<label for="email" class="fw-bold">Email Address</label>
{{ form_widget(requestForm.email) }}
</div>
</div>
<div class="row">
<div class="col-sm-12">
<button class="d-grid gap-2 btn btn-lg btn-primary mb-3 text-uppercase" type="submit">
Reset Password
</button>
</div>
</div>
{{ form_end(requestForm) }}
</div>
</div>
</div>
{% endblock %}