templates/reset_password/request.html.twig line 1

Open in your IDE?
  1. {% extends 'base_security.html.twig' %}
  2. {% block title %}Reset your SDSrepo.io password{% endblock %}
  3. {% block body %}
  4.     <div class="container-xl px-4">
  5.         <div class="row justify-content-center">
  6.             <div class="col-lg-5">
  7.                 <!-- Basic forgot password form-->
  8.                 <div class="card shadow-lg border-0 rounded-lg mt-5" style="background-color: #343b3f">
  9.                     <div class="card-header justify-content-center"><h3 class="fw-light my-4 text-center text-white">Password Recovery</h3></div>
  10.                     <div class="card-body">
  11.                         {% for flash_error in app.flashes('reset_password_error') %}
  12.                             <div class="alert alert-danger" role="alert">{{ flash_error }}</div>
  13.                         {% endfor %}
  14.                         <div class="small mb-3 text-white">Enter your email address and we will send you a link to reset your password.</div>
  15.                         <!-- Forgot password form-->
  16.                         {{ form_start(requestForm) }}
  17.                         <!-- Form Group (email address)-->
  18.                         <div class="mb-3 text-white">
  19.                             {{ form_label(requestForm.email) }}
  20.                             {{ form_widget(requestForm.email, {'attr': {'class': 'form-control', 'placeholder':'Enter your email address'}}) }}
  21.                         </div>
  22.                         <!-- Form Group (submit options)-->
  23.                         <div class="d-flex align-items-center justify-content-between mt-4 mb-0">
  24.                             <a class="small text-white" href="{{ path('app_login') }}">Return to login</a>
  25.                             <button class="btn btn-yellow">Reset Password</button>
  26.                         </div>
  27.                         {{ form_end(requestForm) }}
  28.                     </div>
  29.                     <div class="card-footer text-center">
  30.                         <div class="small"><a class="text-white" href="{{ path('app_register') }}">Need an account? Sign up!</a></div>
  31.                     </div>
  32.                 </div>
  33.             </div>
  34.         </div>
  35.     </div>
  36. {% endblock %}