templates/security/forgot-password.html.twig line 1

Open in your IDE?
  1. {% extends 'layout/master.html.twig' %}
  2. {% block content %}
  3. <a href="{{ base_presentation_url }}" class="security-logo"></a>
  4. <div class="mt-48 mb-30 security-form">
  5.     <h1 class="heading-xl mb-24">Forgot<br>Password</h1>
  6.     <form method="post">
  7.         <label>your email</label>
  8.         <input class="mb-8" type="text" id="email" name="email" value="{{ last_email }}" />
  9.         {% if error %}
  10.             <div class="security-error mb-8">{{ error }}</div>
  11.         {% endif %}
  12.         {% if message %}
  13.             <div class="security-notice mb-8">{{ message }}</div>
  14.         {% endif %}
  15.         <button type="submit" class="btn btn-accent btn-plus mb-8">
  16.             <span>
  17.                     <svg class="animate-spin -ml-1 h-5 w-5 text-black inline hidden btn-spinner" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
  18.                         <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
  19.                         <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
  20.                     </svg>
  21.                     Submit
  22.                 </span>
  23.             <span></span>
  24.         </button>
  25.         <div class="mb-8">
  26.             <a href="{{ path('login') }}" class="form-link">Back to <span>log in</span></a>
  27.         </div>
  28.     </form>
  29. </div>
  30. {% endblock %}