{% extends 'base.html.twig' %}
{% block body %}
<!-- ============================================================== -->
<!-- Preloader - style you can find in spinners.css -->
<!-- ============================================================== -->
<div class="preloader">
<svg class="circular" viewBox="25 25 50 50">
<circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10" /> </svg>
</div>
<!-- ============================================================== -->
<!-- Main wrapper - style you can find in pages.scss -->
<!-- ============================================================== -->
<section id="wrapper">
<div class="login-register" style="background-image:url({{ asset('assets/images/background/login-register.jpg') }});">
<div class="row logoHome">
<p class="text-center" ><img src="{{ asset('assets/images/logo.png') }}"/></p>
</div>
<div class="login-box card">
<div class="card-body">
{{ form_start(requestForm, {'attr': {class: 'form-horizontal form-material','novalidate':'novalidate'} }) }}
<div class="form-group ">
<div class="col-xs-12 ">
<h3 class="box-title m-b-20">RESTABLECER CONTRASEĆA</h3>
<p class="text-muted font-14">Introduce tu email y te enviaremos un mensaje con instrucciones para restablecer tu contraseƱa.</p>
</div>
</div>
<div class="form-group ">
<div class="col-xs-12">
{{ form_widget(requestForm.email, {'attr': {class: 'form-control'} }) }}
</div>
{{ form_errors(requestForm.email) }}
</div>
<div class="form-group text-center m-t-20">
<div class="col-xs-12">
<button class="btn btn-primary btn-lg btn-block waves-effect waves-light" type="submit">Enviar</button>
</div>
</div>
{% for flashError in app.flashes('reset_password_error') %}
<div class="alert alert-warning alert-dismissible" role="alert">
<h3 class="text-warning"><i class="fa fa-exclamation-triangle"></i> Alerta</h3> {{ flashError }}
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
{% endfor %}
<div class="form-group row">
<div class="col-md-12 font-14 text-center">
<a href="{{ path('app_login') }}" class="text-center"><i class="fa fa-lock m-r-5"></i> Acceder</a>
</div>
</div>
{{ form_end(requestForm) }}
</div>
</div>
</div>
</section>
<!-- ============================================================== -->
<!-- End Wrapper -->
<!-- ============================================================== -->
{% endblock %}