{% extends '@base/templates/auth.html.twig' %}
{% block title %}Forgot password{% endblock %}
{% block stylesheets %}
{{ parent() }}
<style>
#forgot_password_submit {
width: 100%;
justify-content: center;
font-size: 1.125rem;
}
</style>
{% endblock %}
{% block body %}
<div data-controller="forgot-password-controller">
{{ form_start(form) }}
<h2 class="mb-4 text-center text-2xl font-semibold">
{% trans from 'UserBundle' %}auth.forgot_password{% endtrans %}
</h2>
{% for message in app.flashes('error') %}
{{ component('alert', {message: message, level: 'error'}) }}
{% endfor %}
{{ form_row(form.email) }}
{{ form_row(form.submit) }}
{{ form_end(form) }}
</div>
{% endblock %}