templates/Frontend/ResetPassword/Request.twig line 1

  1. {% extends 'Frontend/Layout.twig' %}
  2. {% form_theme requestForm 'bootstrap_5_layout.html.twig' %}
  3. {% block title %}Reset your password{% endblock %}
  4. {% block body %}
  5. <div class="card mx-auto mt-5" style="width:400px;">
  6.     {#<h3 class="card-header"></h3>#}
  7.     <div class="card-body">
  8.         {% for flash_error in app.flashes('reset_password_error') %}
  9.             <div class="alert alert-danger" role="alert">{{ flash_error }}</div>
  10.         {% endfor %}
  11.         <h1>Reset your password</h1>
  12.         <p>Enter your email address and we will send you a link to reset your password.</p>
  13.         {{ form_start(requestForm) }}
  14.             {{ form_row(requestForm.email) }}
  15.             <button class="btn btn-primary">Send password reset email</button>
  16.         {{ form_end(requestForm) }}
  17.     </div>
  18. </div>
  19. {% endblock %}