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. <div class="container overflow-hidden">
  5.     <div class="row align-items-center justify-content-center min-vh-100">
  6.         <div class="col-sm-8 align-items-center d-block">
  7.             {{ form_start(requestForm) }}
  8.                 {% for flash_error in app.flashes('reset_password_error') %}
  9.                     <div class="alert alert-danger" role="alert">{{ flash_error }}</div>
  10.                 {% endfor %}
  11.                 {% if app.user %}
  12.                     <div class="mb-3">
  13.                         You are logged in as {{ app.user.userIdentifier }}, <a href="{{ path('app_logout') }}">Logout</a>
  14.                     </div>
  15.                 {% endif %}
  16.                     <div class="row">
  17.                         <div class="col-sm-12">
  18.                             <img src="/build/images/logo.png" class="img-fluid logo mb-3"/>
  19.                             <h1 class="h3 mb-2 fw-bold">Reset your password</h1>
  20.                             <p>Back to <a href="/">Log In</a></p>
  21.                         </div>
  22.                     </div>
  23.                     <div class="row mb-4">
  24.                         <div class="col-sm-12">
  25.                             <label for="email" class="fw-bold">Email Address</label>
  26.                             {{ form_widget(requestForm.email) }}
  27.                         </div>
  28.                     </div>
  29.                     <div class="row">
  30.                         <div class="col-sm-12">
  31.                             <button class="d-grid gap-2 btn btn-lg btn-primary mb-3 text-uppercase" type="submit">
  32.                                 Reset Password
  33.                             </button>
  34.                         </div>
  35.                     </div>
  36.             {{ form_end(requestForm) }}
  37.         </div>
  38.     </div>
  39. </div>
  40. {% endblock %}