{% extends 'base.html.twig' %}
{% block body %}
<section id="forgotten-password" class="w-100 vh-100 d-flex align-items-center">
<div class="container">
<div class="row justify-content-center">
<div class="col-12 text-center">
<img src="{{ asset('build/img/logo.jpg') }}" class="mb-4" id="logo" alt="Upfield"/>
</div>
<div class="col-md-6 col-lg-4">
<form method="post" action="{{ path('forgot_password') }}">
<h3 class="text-center mb-4">Mot de passe oubliƩ</h3>
{% for message in app.flashes('success') %}
<div class="alert alert-info">{{ message }}</div>
{% endfor %}
<div class="form-group">
<label for="email" class="form-label">Mail</label>
<input type="email" class="form-control" id="email" name="email" placeholder="mail" required>
</div>
<input type="hidden" name="_csrf_token"
value="{{ csrf_token('authenticate') }}"
>
<div class="text-center">
<button type="submit" class="btn btn-primary">Envoyer</button>
<a href="{{ path('app_login') }}" class="mt-2 mb-3 text-muted text-center d-block">login</a>
</div>
</form>
</div>
</div>
</div>
</section>
{% endblock %}