{% extends 'admin/login_base.html.twig' %}
{% block title %}Reset your password{% endblock %}
{% block body %}
<article class="card">
<div class="card-body login-card-body">
<p class="login-box-msg">Reset your password</p>
{% for flashError in app.flashes('reset_password_error') %}
<div class="alert alert-danger" role="alert">{{ flashError }}</div>
{% endfor %}
{{ form_start(requestForm) }}
<div class="input-group mb-3">
{{ form_widget(requestForm.email, {attr: {class: 'form-control'}}) }}
<div class="input-group-append">
<div class="input-group-text">
<span class="fas fa-envelope"></span>
</div>
</div>
</div>
<div>
<small>
Enter your email address and we we will send you a
link to reset your password.
</small>
</div>
<button class="btn btn-primary w-100 mt-3">Send password reset email</button>
<p class="pt-3 mb-1">
<a href="{{ path('admin_login') }}">Sign in</a>
</p>
{{ form_end(requestForm) }}
</div>
</article>
{% endblock %}