{% extends 'access.html.twig' %}
{% block title %}Resetta la tua password{% endblock %}
{% block body %}
{% for flash_error in app.flashes('reset_password_error') %}
<div class="alert alert-danger" role="alert">{{ flash_error }}</div>
{% endfor %}
<h3>Resetta la tua password</h3>
{{ form_start(requestForm) }}
<div class="form-group">
<label>E-mail</label>
{{ form_widget(requestForm.email, { 'attr': {'placeholder': 'Inserisci la tua mail', 'class': 'form-control'} }) }}
<div class="error" id="error-email">{{ form_errors(requestForm.email) }}</div>
</div>
<div>
<small>
Inserisci il tuo indirizzo email e ti invieremo un
link per reimpostare la password.
</small>
</div><br />
<button class="btn btn-danger">Premi qui per reimpostare la password</button>
{{ form_end(requestForm) }}
{% endblock %}