{% extends "front/base.html.twig" %}
{% block title %}{{ 'reset_password.title' | trans }}
{% endblock %}
{% block stylesheets %}
<style>
footer {
display: none !important;
}
.login-card {
max-width: 480px;
margin: auto;
}
</style>
{% endblock %}
{% block body %}
<div class="overflow-hidden fullheight">
<section class="first-section login-section fullheight">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-5">
{% for label, messages in app.flashes %}
{% for message in messages %}
<div class="common-card login-card mb-3">
<p class="text-center text-18 mb-0">{{ message }}</p>
</div>
{% endfor %}
{% endfor %}
<div class="common-card login-card">
<h1 class="page-title">{{ 'reset_password.title' | trans }}</h1>
<form action="{{ path('forgot_password') }}" method="post" autocomplete="off">
<p class="text-center text-16">{{ 'reset_password.message' | trans }}</p>
<div class="row">
<div class="col-lg-12">
<div class="form-group">
<input type="email" name="forgot_email" class="form-control" {% if email %}value="{{ email }}"{% endif %} required placeholder="{{ 'reset_password.placeholder' | trans }}">
</div>
</div>
<div class="col-md-12">
<button name="forgot_submit" value="yes" class="btn form-btn btn-blue-darker mt-3" type="submit">{{ 'reset_password.send_button' | trans }}</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
</div>
{% endblock %}