templates/admin/reset_password/request.html.twig line 1

Open in your IDE?
  1. {% extends 'admin/login_base.html.twig' %}
  2. {% block title %}Reset your password{% endblock %}
  3. {% block body %}
  4.   <article class="card">
  5.     <div class="card-body login-card-body">
  6.       <p class="login-box-msg">Reset your password</p>
  7.       
  8.       {% for flashError in app.flashes('reset_password_error') %}
  9.           <div class="alert alert-danger" role="alert">{{ flashError }}</div>
  10.       {% endfor %}
  11.       {{ form_start(requestForm) }}
  12.         <div class="input-group mb-3">
  13.           {{ form_widget(requestForm.email, {attr: {class: 'form-control'}}) }}
  14.           <div class="input-group-append">
  15.                 <div class="input-group-text">
  16.                   <span class="fas fa-envelope"></span>
  17.                 </div>
  18.               </div>
  19.             </div>
  20.           <div>
  21.               <small>
  22.                   Enter your email address and we we will send you a
  23.                   link to reset your password.
  24.               </small>
  25.           </div>
  26.           <button class="btn btn-primary w-100 mt-3">Send password reset email</button>
  27.           
  28.           <p class="pt-3 mb-1">
  29.             <a href="{{ path('admin_login') }}">Sign in</a>
  30.           </p>
  31.       {{ form_end(requestForm) }}
  32.     </div>
  33.   </article>
  34. {% endblock %}