{% extends "@AutoAdminAdmin/security_layout.html.twig" %}

{% block body %}
  <body class="bg-gradient-success">
  <div class="container">
    <div class="row justify-content-center">
      <div class="col-xl-6 col-lg-8 col-md-10">
        <div class="card o-hidden border-0 shadow-lg mt-5 mb-2">
          <div class="card-body p-0">
            <div class="row">
              <div class="col-12">
                <div class="p-5 text-center">
                  <img
                    src="{{ '/bundles/autoadmin/front/images/gda-logo.png' }}"
                    alt="Logo"
                    loading="lazy"
                  >
                  <form class="connect-form" class="user" action="{{ path('aa_admin_password_reset') }}" method="post">
                    {% if error is defined %}
                      <p class="alert alert-danger">
                        {{ error }}
                      </p>
                    {% endif %}
                    <input type="hidden" name="token" value="{{ csrf_token('password-reset') }}"/>
                    <div class="form-group">
                      <label for="email">Entrez votre email pour recevoir un mail de réinitialisation de mot de
                        passe</label>
                      <input
                          type="email"
                          class="form-control form-control-user"
                          id="email"
                          name="email"
                          placeholder="exemple@domaine.tld*"
                      >
                    </div>
                    <button type="submit" class="btn btn-primary btn-user btn-block">Envoyer</button>
                  </form>
                </div>
              </div>
            </div>
          </div>
        </div>
        <p><a href="{{ path('aa_admin_login') }}">Retour</a></p>
      </div>
    </div>
  </div>
  </body>
{% endblock %}
