templates/security/forgotten_password.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block body %}
  3.     <section id="forgotten-password" class="w-100 vh-100 d-flex align-items-center">
  4.         <div class="container">
  5.             <div class="row justify-content-center">
  6.                 <div class="col-12 text-center">
  7.                     <img src="{{ asset('build/img/logo.jpg') }}" class="mb-4" id="logo" alt="Upfield"/>
  8.                 </div>
  9.                 <div class="col-md-6 col-lg-4">
  10.                     <form method="post" action="{{ path('forgot_password') }}">
  11.                         <h3 class="text-center mb-4">Mot de passe oubliĆ©</h3>
  12.                         {% for message in app.flashes('success') %}
  13.                             <div class="alert alert-info">{{ message }}</div>
  14.                         {% endfor %}
  15.                         <div class="form-group">
  16.                             <label for="email" class="form-label">Mail</label>
  17.                             <input type="email" class="form-control" id="email" name="email" placeholder="mail" required>
  18.                         </div>
  19.                         <input type="hidden" name="_csrf_token"
  20.                                value="{{ csrf_token('authenticate') }}"
  21.                         >
  22.                         <div class="text-center">
  23.                             <button type="submit" class="btn btn-primary">Envoyer</button>
  24.                             <a href="{{ path('app_login') }}" class="mt-2 mb-3 text-muted text-center d-block">login</a>
  25.                         </div>
  26.                     </form>
  27.                 </div>
  28.             </div>
  29.         </div>
  30.     </section>
  31. {% endblock %}