templates/reset_password/request.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block body %}
  3.     <div class="container-fluid">
  4.         <div class="main-content">
  5.             <div class="login-container">
  6.                 <div class="row">
  7.                     <div class="col-12 col-lg-6">
  8.                         <div class="panel panel-large">
  9.                             
  10.                             <div class="panel-header">
  11.                                 <h1 class="">Adhésion à la Retraite Mutualiste du Combattant</h1>
  12.                                 <div class="title">Mot de passe oublié</div>
  13.                                 <div class="description">Indiquez votre email pour réinitialiser votre mot de passe.</div>
  14.                             </div>
  15.                             <div class="panel-body">
  16.                                 {{ form_start(requestForm) }}
  17.                                     {% for flashError in app.flashes('reset_password_error') %}
  18.                                         <div class="alert alert-danger" role="alert">{{ flashError }}</div>
  19.                                     {% endfor %}
  20.                                     {% if app.user %}
  21.                                         <div class="mb-3 text-center">
  22.                                             Vous êtes connecté en tant que : {{ app.user.username }}, peut-être que ce compte n'a pas encore de droit d'utilisation. <br/> <br/>   <a href="{{ path('app_logout') }}">Se déconnecter</a>
  23.                                         </div>
  24.                                     {% else %}
  25.                                         <div class="form">
  26.                                             <div class="form-group">
  27.                                                 <div class="input-group">
  28.                                                     <label>{{ form_label ( requestForm.email) }}</label>
  29.                                                     {{ form_widget ( requestForm.email, {attr: {'class': "form-control" }} ) }}
  30.                                                 </div>
  31.                                                 <div class="help-block with-errors"></div>
  32.                                             </div>
  33.                                             <div class="form-group login-submit">
  34.                                                 {{ form_widget(requestForm.save) }}
  35.                                             </div>
  36.                                         </div>
  37.                                     {% endif %}
  38.                                 {{ form_end(requestForm) }}
  39.                             </div>
  40.                         </div>
  41.                     </div>
  42.                     <div class="col-12 col-lg-6 d-none d-lg-flex">
  43.                         <div class="image">
  44.                             <img src="{{ asset('img/image-connexion-mutuelle.png') }}" alt="connexion">
  45.                         </div>
  46.                     </div>
  47.                 </div>
  48.             </div>
  49.         </div>
  50.     </div>
  51. {% endblock %}
  52. {% block javascripts %}
  53.     {{ parent() }}
  54.     <script>
  55.       $( document ).ready(function() {
  56.          $('form').validator();
  57.       });
  58.     </script>
  59. {% endblock %}