templates/reset_password/front/request.html.twig line 1

Open in your IDE?
  1. {% extends 'security/base_login.html.twig' %}
  2. {% block title %}Reset your password{% endblock %}
  3. {% block menu %}{% endblock %}
  4. {% block footer %}{% endblock %}
  5. {% block stylesheets %}
  6.         {{ encore_entry_link_tags('app-client') }}
  7. {% endblock %}
  8. {% block left_image %}{{slug}}-left{% endblock %}
  9. {% block left_title %}{{ displayAccessTitle(slug)|raw }}{% endblock %}
  10. {% block optionalClassForm %}form-container{% endblock %}
  11. {% block optionalClassMentions %}legal-container{% endblock %}
  12. {% block form %}
  13.     <div id="form" class=" d-flex flex-column justify-content-center align-items-center">
  14.     {% for flash_error in app.flashes('reset_password_error') %}
  15.         <p class="text-danger" role="alert">{{ flash_error }}</p>
  16.     {% endfor %}
  17.         <h3 class="text-center">{{ 'reset_password.title'|trans }}</h3>
  18.         <p class="forgot-pwd-underline">
  19.             {{ 'reset_password.underline'|trans }}
  20.         </p>
  21.         {{ form_start(requestForm) }}
  22.         {{ form_widget(requestForm.email) }}
  23.             <button class="btn mt-0" type="submit">{{ 'reset_password.send_action'|trans }}</button>
  24.             {% if slug == "expert" %}
  25.                 {% set slug = "specialist" %}
  26.             {% endif %}
  27.            <div class="col-12 d-flex justify-content-center mt-4">
  28.                 <a class="text-center company-code-return" href="{{ path('app_login_'~ slug)}}">Retour</a>    
  29.            </div>
  30.         </div>
  31.         {{ form_end(requestForm) }}
  32.     </div>
  33. {% endblock %}