{% extends 'base.html.twig' %}
{% block title %}Receive password{% endblock %}
{% block body %}
<form method="post">
{% if email %}
<div class="alert alert-danger">Email {{ email }} not found!</div>
{% endif %}
<h1 class="h3 mb-3 font-weight-normal">Receive your password</h1>
<label for="inputEmail" class="sr-only">Email</label>
<input type="email" name="email" id="inputEmail" class="form-control" placeholder="Email" value="{{ email }}" required autofocus>
<button class="btn btn-lg btn-link">
<a href="{{ path('login') }}">Назад</a>
</button>
<button class="btn btn-lg btn-primary" type="submit">
Receive
</button>
</form>
{% endblock %}