src/Bundles/UserBundle/Resources/views/password/forgot_password_form.html.twig line 1

Open in your IDE?
  1. {% extends '@base/templates/auth.html.twig' %}
  2. {% block title %}Forgot password{% endblock %}
  3. {% block stylesheets %}
  4.     {{ parent() }}
  5.     <style>
  6.         #forgot_password_submit {
  7.             width: 100%;
  8.             justify-content: center;
  9.             font-size: 1.125rem;
  10.         }
  11.     </style>
  12. {% endblock %}
  13. {% block body %}
  14.     <div data-controller="forgot-password-controller">
  15.         {{ form_start(form) }}
  16.         <h2 class="mb-4 text-center text-2xl font-semibold">
  17.             {% trans from 'UserBundle' %}auth.forgot_password{% endtrans %}
  18.         </h2>
  19.         {% for message in app.flashes('error') %}
  20.             {{ component('alert', {message: message, level: 'error'}) }}
  21.         {% endfor %}
  22.         {{ form_row(form.email) }}
  23.         {{ form_row(form.submit) }}
  24.         {{ form_end(form) }}
  25.     </div>
  26. {% endblock %}