{% extends 'login.html.twig' %}
{% block title %}{% trans %}Forgot Password?{% endtrans %}{% endblock %}
{% block body %}
<p class="login-box-msg">{% trans %}You forgot your password ? Please enter your email address to retrieve a new password.{% endtrans %}</p>
<form method="post">
{% if error is defined and error %}
<div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
<div class="input-group mb-3">
<input type="email" value="{{ last_username }}" name="email" id="inputEmail" class="form-control" autocomplete="email" placeholder="{% trans %}Email{% endtrans %}" required autofocus>
<div class="input-group-append">
<div class="input-group-text">
<span class="fas fa-envelope"></span>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<button class="btn btn-primary btn-block" type="submit">
{% trans %}Request new password{% endtrans %}
</button>
</div>
</div>
<input type="hidden" name="_csrf_token" value="{{ csrf_token('passwordLost') }}">
</form>
<div class="social-auth-links text-center mb-3">
<p>
{% trans %}- OR -{% endtrans %}
</p>
</div>
<div class="mb-1 text-center">
<a href="{{ path('app_login') }}">
{% trans %}Return to login{% endtrans %}
</a>
</div>
{% endblock %}