{% extends '/client/common/base.html.twig' %}
{% block title %}Reset your password{% endblock %}
{% block body %}
<div class="uk-margin-large uk-margin-large-top uk-container uk-container-xsmall">
{% for flashError in app.flashes('reset_password_error') %}
<div class="alert alert-danger" role="alert">{{ flashError }}</div>
{% endfor %}
<div class="uk-width-large uk-padding-small uk-margin-auto">
<h1>Reset your password</h1>
{{ form_start(requestForm) }}
<div class="uk-margin">{{ form_row(requestForm.email) }}</div>
<div>
<small>
Enter your email address and we will send you a
link to reset your password.
</small>
</div>
<div>{{ form_errors(requestForm.captcha) }}{{ form_row(requestForm.captcha) }}</div>
<div class="uk-margin">
<button type="submit" class="uk-button uk-button-primary uk-button-large uk-border-pill uk-width-1-1">Send password reset email</button>
</div>
<div>
<div class="uk-text-center">
<a href="{{ path('app_login') }}" class="uk-link-reset uk-text-small">Back to login page</a>
</div>
</div>
{{ form_end(requestForm) }}
</div>
</div>
{% endblock %}