templates/security/reset_password_user.html.twig line 1

Open in your IDE?
  1. {% extends 'login_admin.html.twig' %}
  2. {% block title %}{{'office'|trans}}{% endblock %}
  3.     {% block body %}
  4.         <form method="post" action="{{ path('reset_password') }}" class="form-horizontal form-material">
  5.             <h3 class="text-center m-b-20">{{'espaceUt'|trans}}</h3>
  6.             <div class="alert alert-success" role="alert">
  7.                 <div class="alert-body">{{'saisirAdresseEmail'|trans}}</div>
  8.             </div>
  9.             
  10.             {% for message in app.flashes('failure_register') %}
  11.                 <div class="flash-notice">
  12.                     {% if message== true %}
  13.                         <div class="alert alert-danger" role="alert">
  14.                             <div class="alert-body">
  15.                                 {{'VerifierEmail'|trans}}
  16.                             </div>
  17.                         </div>
  18.                     {% endif %}
  19.                 </div>
  20.             {% endfor %}
  21.             {% for message in app.flashes('failure_recaptcha') %}
  22.                 <div class="flash-notice">
  23.                     {% if message== true %}
  24.                         <div class="alert alert-danger" role="alert">
  25.                             <div class="alert-body">
  26.                                 {{'cocheCaptcha'|trans}}                            
  27.                             </div>
  28.                         </div>
  29.                     {% endif %}
  30.                 </div>
  31.             {% endfor %}
  32.             
  33.             
  34.             <div class="form-group">
  35.                 <div class="col-xs-12">
  36.                     {{ form_widget(form.email) }}
  37.                 </div>
  38.             </div>
  39.              <div class="g-recaptcha" data-sitekey="6LdCul0hAAAAAEU1_jBA92CxMT3-u7rJzsQRN7xW"></div>
  40.             <input type="hidden" name="_csrf_token"
  41.             value="{{ csrf_token('authenticate') }}"
  42.             >
  43.             <div class="form-group text-center">
  44.                 <div class="col-xs-12 p-b-10 p-t-20">
  45.                     <button class="btn w-100  btn-success btn-rounded text-white" type="submit">{{'Envoyer'|trans}}</button>
  46.                 </div>
  47.             </div>
  48.         </form>
  49.     {% endblock %}