templates/reset_password/request.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Reset your password{% endblock %}
  3. {% block body %}
  4.     {% for flashError in app.flashes('reset_password_error') %}
  5.         <div class="alert alert-danger" role="alert">{{ flashError }}</div>
  6.     {% endfor %} 
  7.     <div class="container bg-light rounded p-5">
  8.     <h1>Reset your password</h1>
  9.     {{ form_start(requestForm) }}
  10.         <div class="input-group mt-5">
  11.             <span class="input-group-text">{{ form_label(requestForm.email) }}</span>
  12.             {{ form_widget(requestForm.email, {'attr': {'class': 'form-control'}}) }}
  13.         </div>
  14.         <div>
  15.             <small>
  16.                 Enter your email address and we will send you a
  17.                 link to reset your password.
  18.             </small>
  19.         </div>
  20.         <button class="btn btn-primary mt-5">Send password reset email</button>
  21.     {{ form_end(requestForm) }}
  22.     </div>
  23. {% endblock %}