templates/reset_password/request.html.twig line 20

  1. {% extends 'base.html.twig' %}
  2. {% block title %}Reset your password{% endblock %}
  3. {% block body %}
  4.     <div class="w-full pt-16">
  5.         <div class="w-full max-w-screen-2xl pt-16 mx-auto px-6">
  6.             <h1 class="md:text-4xl text-3xl font-bold text-gray-800 text-center">
  7.                 Reset your password
  8.             </h1>
  9.             <p class="text-lg text-gray-800 text-center my-5">
  10.                Receive a reset password link via your registered email.
  11.             </p>
  12.         </div>
  13.         {% for flash_error in app.flashes('reset_password_error') %}
  14.             <div class="alert alert-danger" role="alert">{{ flash_error }}</div>
  15.         {% endfor %}
  16.         <div class="w-full max-w-lg mx-auto my-5 py-5">
  17.         {{ form_start(requestForm) }}
  18.             {# {{ form_row(requestForm.email) }} #}
  19.             <input class="mt-2 w-full rounded-lg border focus:border-brand focus:outline-none focus:ring-brand border-gray-300 p-3 text-sm disabled:cursor-not-allowed" 
  20.             type="email" name="{{ field_name(requestForm.email) }}">
  21.                 
  22.             <div class="my-5">
  23.                 <small> Enter your registered email address to receive the reset password link. If you dont received contact info@onld.co.uk</small>
  24.             </div>
  25.             <button class="bg-brand
  26.               hover:bg-transparent
  27.               border
  28.               border-brand
  29.               transition-all
  30.               duration-300
  31.               py-3
  32.               px-5
  33.               rounded-xl
  34.               text-base
  35.               font-semibold
  36.               leading-6
  37.               text-white
  38.               hover:text-brand
  39.               w-full
  40.               text-center
  41.               lg:mt-0
  42.               mt-auto
  43.               lg:mb-0
  44.               mb-4
  45.             ">Reset Password</button>
  46.         {{ form_end(requestForm) }}
  47.     </div>
  48.     </div>
  49. {% endblock %}