templates/forgot_pwd.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}
  3.     {{ parent() }} - Mot de passe oublié
  4. {% endblock %}
  5. {% block body_class %}jumbo-page{% endblock %}
  6. {% block body %}
  7.     <main class="admin-main gradient-01">
  8.         <div class="container">
  9.             <div class="row m-h-100 ">
  10.                 <div class="col-md-8 col-lg-4  m-auto">
  11.                     <div class="card shadow-lg ">
  12.                         <div class="card-body ">
  13.                             <div class=" padding-box-2 ">
  14.                                 <h3 class="text-center mt-2">Mot de passe oublié</h3>
  15.                                 <div class="text-center mb-5">
  16.                                     {% for type, messages in app.session.flashbag.all %}
  17.                                         {% for message in messages %}
  18.                                             <div class="alert alert-border-{{ type }} alert-dismissible fade show" role="alert">
  19.                                                 <div class="d-flex">
  20.                                                     <div class="icon">
  21.                                                         <i class="icon mdi mdi-alert-circle-outline"></i>
  22.                                                     </div>
  23.                                                     <div class="content">
  24.                                                         {{ message }}
  25.                                                     </div>
  26.                                                 </div>
  27.                                             </div>
  28.                                         {% endfor %}
  29.                                     {% endfor %}
  30.                                 </div>
  31.                                 {{ form_start(form) }}
  32.                                     <div class="form-group">
  33.                                         <label>Adresse mail</label>
  34.                                         <div class="input-group input-group-flush mb-3">
  35.                                             {{ form_widget(form.email, {'attr': {'class': 'form-control  form-control-prepended'}}) }}
  36.                                             <div class="input-group-prepend">
  37.                                                 <div class="input-group-text">
  38.                                                     <span class=" mdi mdi-email "></span>
  39.                                                 </div>
  40.                                             </div>
  41.                                         </div>
  42.                                         <div class="text-danger">{{ form_errors(form.email) | striptags  }}</div>
  43.                                         <p class="small">
  44.                                             Nous vous enverrons un lien de réinitialisation par mail à l'adresse indiquée
  45.                                         </p>
  46.                                     </div>
  47.                                     <div class="form-group">
  48.                                         <button class="btn text-uppercase btn-block btn-primary">
  49.                                             Envoyer
  50.                                         </button>
  51.                                     </div>
  52.                                 {{ form_end(form) }}
  53.                                 <p class="text-center">
  54.                                     <a href="{{ path('default_login') }}" class="text-underline">Annuler</a>
  55.                                 </p>
  56.                             </div>
  57.                         </div>
  58.                     </div>
  59.                 </div>
  60.             </div>
  61.         </div>
  62.     </main>
  63. {% endblock %}
  64. {% block javascripts %}
  65.     {{ parent() }}
  66. {% endblock %}