templates/user/forgotPassword.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}ForgotPassword | Webshop{% endblock %}
  3. {% block body %}
  4.     <section class="h-100">
  5.         <header class="container h-100">
  6.             <div class="d-flex align-items-center justify-content-center h-100 homeHeight">
  7.                 <div class="container text-center content-lighten">
  8.                     <div class="mt-3">
  9.                         <h1> RĂ©initialisation du mot de passe </h1>
  10.                         <hr>
  11.                         <div class="d-flex flex-column">
  12.                             <div class="container w-50 homeContainer">
  13.                                 {% for flashMessage in app.session.flashbag.get('success') %}
  14.                                     <div class="alert alert-success alert-dismissible text-center" role="alert">
  15.                                         <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  16.                                             <span aria-hidden="true">&times;</span></button>
  17.                                         <strong> Succès ! </strong> {{ flashMessage }}
  18.                                     </div>
  19.                                 {% endfor %}
  20.                                 {% for message in app.flashes('error') %}
  21.                                     <div class="alert alert-danger alert-dismissible text-center" role="alert">
  22.                                         <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  23.                                             <span aria-hidden="true">&times;</span></button>
  24.                                         <strong>Error !</strong> {{ message }}
  25.                                     </div>
  26.                                 {% endfor %}
  27.                                 <div class="mb-4 p-5">
  28.                                     {{ form(formForgotPassword) }}
  29.                                 </div>
  30.                             </div>
  31.                         </div>
  32.                     </div>
  33.                 </div>
  34.             </div>
  35.         </header>
  36.     </section>
  37. {% endblock %}