templates/reset_password/request.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Se Connecter !{% endblock %}
  3. {% block main %}
  4.     <div class="d-flex flex-column flex-root">
  5.         <!--begin::Authentication - Sign-in -->
  6.         <div class="d-flex flex-column flex-column-fluid bgi-position-y-bottom position-x-center bgi-no-repeat bgi-size-contain bgi-attachment-fixed"
  7.              style="background-image: url({{ asset('assets/theme/media/illustrations/sketchy-1/14.png') }}">
  8.             <!--begin::Content-->
  9.             <div class="d-flex flex-center flex-column flex-column-fluid p-10 pb-lg-20">
  10.                 <!--begin::Logo-->
  11.                 <a href="{{ path('dashboard') }}" class="mb-12">
  12.                     <img alt="Logo" src="{{ asset('logos/logo-1.svg') }}" class="h-40px"/>
  13.                 </a>
  14.                 <!--end::Logo-->
  15.                 <!--begin::Wrapper-->
  16.                 <div class="w-lg-500px bg-body rounded shadow-sm p-10 p-lg-15 mx-auto">
  17.                     <!--begin::Form-->
  18.                     {{ form_start(requestForm, {'method': 'POST', 'action': path('app_forgot_password_request'), 'attr': {'id':'kt_sign_in_form','class': 'form w-100'}}) }}
  19.                     <!--begin::Heading-->
  20.                     <div class="text-center mb-10">
  21.                         <!--begin::Title-->
  22.                         <h1 class="text-dark mb-3">Réinitialiser le mot de passe</h1>
  23.                         {% for flashError in app.flashes('reset_password_error') %}
  24.                             <div class="alert alert-danger" role="alert">{{ flashError }}</div>
  25.                         {% endfor %}
  26.                         <div class="text-gray-400 fw-bold fs-4">Entrez votre email pour réinitialiser le mot de
  27.                             passe.
  28.                         </div>
  29.                         <!--end::Title-->
  30.                     </div>
  31.                     <!--begin::Heading-->
  32.                     <!--begin::Input group-->
  33.                     <div class="fv-row mb-10">
  34.                         <label class="form-label fw-bolder text-gray-900 fs-6">{{ form_label(requestForm.email) }}</label>
  35.                         {{ form_widget(requestForm.email) }}
  36.                     </div>
  37.                     <!--end::Input group-->
  38.                     <!--begin::Actions-->
  39.                     <div class="text-center">
  40.                         <!--begin::Submit button-->
  41.                         <button type="submit" id="kt_sign_in_submit" class="btn btn-lg btn-primary w-100 mb-5">
  42.                             <span class="indicator-label">Send password reset email</span>
  43.                             <span class="indicator-progress">Please wait...
  44.                                     <span class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
  45.                         </button>
  46.                         <!--end::Submit button-->
  47.                     </div>
  48.                     <!--end::Actions-->
  49.                     {{ form_end(requestForm) }}
  50.                     <!--end::Form-->
  51.                 </div>
  52.                 <!--end::Wrapper-->
  53.             </div>
  54.             <!--end::Content-->
  55.             <!--begin::Footer-->
  56.             <div class="d-flex flex-center flex-column-auto p-10">
  57.                 <!--begin::Links-->
  58.                 <div class="d-flex align-items-center fw-bold fs-6">
  59.                     <div class="text-dark-50 font-size-lg font-weight-bolder mr-10">
  60.                         <span class="mr-1">2021 ©</span>
  61.                         <a href="https://smartapps.ma" target="_blank" class="text-dark-75 text-hover-primary">Digital
  62.                             Smart Apps</a>
  63.                     </div>
  64.                 </div>
  65.                 <!--end::Links-->
  66.             </div>
  67.             <!--end::Footer-->
  68.         </div>
  69.         <!--end::Authentication - Sign-in-->
  70.     </div>
  71. {% endblock %}
  72. {% block javascripts %}
  73.     {{ encore_entry_script_tags('login') }}
  74. {% endblock %}