{% extends 'basic.html.twig' %}
{% block subtitle %}- {{ 'Request password'|trans }}{% endblock %}
{% block body %}
<div class="row justify-content-center my-auto">
<div class="col-md-8 col-lg-6 col-xl-4">
<div class="text-center py-5">
<div class="mb-4 mb-md-5">
<a href="index.html" class="d-block auth-logo">
<img src="{{ asset('/assets/images/logo.png') }}" />
</a>
</div>
<div class="mb-4">
<h5>{{ 'app.welcome_back'|trans }}!</h5>
</div>
{{ form_start(requestForm) }}
{% for flash_error in app.flashes('reset_password_error') %}
<div class="alert alert-danger" role="alert">{{ flash_error }}</div>
{% endfor %}
<div class="form-floating form-floating-custom mb-3">
{{ form_widget(requestForm.email, {'attr': {'class': 'form-control'}}) }}
<label for="input-password">{{ 'Email'|trans }}</label>
<div class="form-floating-icon">
<i class="uil uil-users-alt"></i>
</div>
</div>
<div class="mt-3">
<button class="btn btn-success w-100" type="submit">Passwort zurücksetzen</button>
</div>
{{ form_end(requestForm) }}
<div class="mt-5 text-center text-muted">
<p>{{ 'app.no_account'|trans({'%app_name%': 'app.app_name'|trans}) }}?<br>
<a href="{{ path('app_register') }}" class="fw-medium text-decoration-underline text-success"> {{ 'app.register_now'|trans }}! </a></p>
</div>
</div>
</div>
</div>
{% endblock %}