templates/reset_password/request.html.twig line 1

Open in your IDE?
  1. {# templates/login/index.html.twig #}
  2. {% extends 'base-login.html.twig' %}
  3. {% block body %}
  4.     
  5.             {% for flash_error in app.flashes('reset_password_error') %}
  6.                 <div class="alert alert-danger" role="alert">{{ flash_error }}</div>
  7.             {% endfor %}
  8.                 <h3>{{'reset_password.title'|trans}}</h3>
  9.             {{ form_start(requestForm) }}
  10.                 
  11.                 <div class="m-2">
  12.                     {{ form_label(requestForm.email) }}
  13.                     {{ form_widget(requestForm.email, {'attr':{'class':'form-control'}}) }}
  14.                     <small>
  15.                         {{'reset_password.email_prompt'|trans}}
  16.                     </small>
  17.                 </div>
  18.             
  19.            <div class="d-flex justify-content-center">
  20.                 <a href="{{path('login')}}" class="btn btn-default float-left">{{ 'buttons.cancel'|trans }}</a>
  21.                 <button class="btn btn-success float-right">{{'buttons.send_password_reset_email'|trans}}</button>
  22.             </div>
  23.             {{ form_end(requestForm) }}
  24. {% endblock %}