<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
        <link rel="shortcut icon" type="image/ico" href="{{ asset('build/images/core/favicon.png') }}"/>

        <title>Reiniciar Contraseña</title>

        <link rel="stylesheet" href="{{ asset('build/css/d.bootstrap.min.css') }}">
        <link rel="stylesheet" href="{{ asset('build/css/login.css') }}">
    </head>

    <body class="text-center">
        <div class="container">
     
        <form class="form-signin" method="post" action="{{ path('usuario_reiniciar') }}">
            <a href="{{ path('website_index') }}">
                <img class="mb-4" src="{{ asset('build/images/logos/netnexo-sm.png') }}" alt="">
            </a>

            <h1 class="h4 mb-3 font-weight-normal text-center">Reiniciar Contraseña</h1>

            {% for label, messages in app.flashes %}
                {% for message in messages %}
                    <div class="flash-alerta alert alert-{{ label }}" role="alert">
                        {{ message }}
                    </div>
                {% endfor %}
            {% endfor %}

            {{ form_row(form._token) }}

            <div class="row text-left">
                <div class="col-md-12 mb-3">
                    {{ form_widget(form.username, {'attr': {'placeholder': 'Usuario'} }) }}
                    {{ form_errors(form.username) }}
                </div>
                <div class="col-md-12 mb-3">
                    {{ form_widget(form.email, {'attr': {'placeholder': 'Email del usuario'} }) }}
                    {{ form_errors(form.email) }}
                </div>
            </div>

            <div class="text-left checkbox mb-3">
                <label>
                    <a href="{{ path('login') }}">Volver al inicio de Sesion</a>
                </label>
                <label>
                    <a href="{{ path('usuario_registrar') }}">¿No tienes cuenta? Registrate</a>
                </label>
            </div>

            <button class="btn btn-lg btn-primary btn-block" type="submit">Reiniciar</button>
              <p class="mt-5 mb-3 text-muted">Netnexo</p>
        </form>

        </div>


    </body>
</html>