templates/user/mot_de_passe_oublier.html.twig line 1

Open in your IDE?
  1. {% extends 'back.html.twig' %}
  2. {% block title %}Mot de passe oublié{% endblock %}
  3. {% block body %}
  4.     <div class="row justify-content-center m_t_50">
  5.     <div class="col-md-6">
  6.         <div class="card">
  7.             <div class="card-header">Mot de passe oublié</div>
  8.             <div class="card-body">
  9.                 <form method="post">
  10.                     {% if message %}
  11.                         <div class="row m_t_15 justify-content-center">
  12.                             <div class="col-12">
  13.                                 <div class="alert alert-{% if error %}danger{% else %}success{% endif %} m_t_15">{{ message }}</div>
  14.                             </div>
  15.                         </div>
  16.                     {% endif %}
  17.                     <p>Pour nous aider à le retrouver, veuillez renseigner votre email d'inscription.</p>
  18.                     <div class="row">
  19.                         <div class="col-12">
  20.                             <div class="form-group">
  21.                                 <input type="email" name="email" id="inputEmail" class="form-control"
  22.                                        autocomplete="off"
  23.                                        placeholder="Adresse email" required autofocus>
  24.                             </div>
  25.                         </div>
  26.                     </div>
  27.                     <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
  28.                     <div class="row">
  29.                         <div class="col-6">
  30.                             <button class="btn btn-primary px-4" type="submit">Envoyer</button>
  31.                         </div>
  32.                         <div class="col-6 text-right">
  33.                             <a class="btn btn-link px-0" href="{{ path('app_login') }}">S'authentifier</a>
  34.                         </div>
  35.                     </div>
  36.                 </form>
  37.             </div>
  38.         </div>
  39.     </div>
  40. {% endblock %}