templates/reset_password/request.html.twig line 1

Open in your IDE?
  1. {# {% extends 'login/login.html.twig' %}
  2. {% block title %}Réinitialisez votre mot de passe{% endblock %}
  3. {% block fos_user_content %}
  4.     {% for flash_error in app.flashes('reset_password_error') %}
  5.         <div class="alert alert-danger" role="alert">{{ flash_error }}</div>
  6.     {% endfor %}
  7.     <h1>Reset your password</h1>
  8.     {{ form_start(requestForm) }}
  9.         {{ form_row(requestForm.email) }}
  10.         <div>
  11.             <small>
  12.                 Enter your email address and we will send you a
  13.                 link to reset your password.
  14.             </small>
  15.         </div>
  16.         <button class="btn btn-primary">Send password reset email</button>
  17.     {{ form_end(requestForm) }}
  18. {% endblock %} #}
  19. {% extends 'login/login.html.twig' %}
  20. {% block title %}Réinitialisez votre mot de passe{% endblock %}
  21. {% block fos_user_content %}
  22.     <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 " style="background: #21264B;padding-top: 30px;padding-bottom: 30px;">
  23.     {% for flash_error in app.flashes('reset_password_error') %}
  24.         <div class="alert alert-danger" role="alert">{{ flash_error }}</div>
  25.     {% endfor %}
  26.     <div class="no-padding">
  27.         {{ form_start(requestForm, { 'attr' : { 'class': 'smart-form client-form' } } ) }}
  28.             
  29.            <header style="color: #0098FF;font-weight: bold;font-size: 16px;text-align: justify; background: #21264B;">
  30.                Renseignez votre adresse email
  31.             </header>
  32.             <fieldset style="background: #21264B;margin-top: -21px;">
  33.                 
  34.                 <section >
  35.                    
  36.                     <label  class="input"> 
  37.                         <i style="border-left-width: 0px;margin-top: 7px;" class="icon-append fa fa-user"></i>
  38.                         
  39.                         {{ form_widget(requestForm.email, {'attr':{'style':'height: 45px;border-radius: 5px;'}}) }}
  40.                         
  41.                         
  42.                     </label>
  43.                 </section>
  44.                 
  45.                 
  46.             </fieldset >
  47.             <footer style="background: #21264B">
  48.             <input style="background: #0098FF;  margin-top: -7px;width: 100%;height: 45px;border-radius: 5px;margin-bottom:12px" type="submit" class="btn btn-primary" value="Réinitialisez mot de passe" />
  49.             <div class="note"><br>
  50.                         <a style="color: #0098FF;" href="{{ path("login") }}">Se connecter</a>
  51.                     </div>
  52.             </footer>
  53.         {{ form_end(requestForm) }}
  54.     </div>
  55.     
  56.     
  57.     
  58. </div>
  59. {% endblock %}
  60. {# 
  61. <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 " style="background: #21264B;padding-top: 30px;padding-bottom: 30px;">
  62.     {% if error %}
  63.         <div>{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  64.     {% endif %}
  65.     <div class="no-padding">
  66.         {{ form_start(requestForm) }}
  67.             
  68.            <header style="color: #0098FF;font-weight: bold;font-size: 16px;text-align: justify; background: #21264B;">
  69.                Réinitialisez votre mot de passe
  70.             </header>
  71.             <fieldset style="background: #21264B;margin-top: -21px;">
  72.                 
  73.                 <section >
  74.                    
  75.                     <label  class="input"> 
  76.                         <i style="border-left-width: 0px;margin-top: 7px;" class="icon-append fa fa-user"></i>
  77.                         <input style ="height: 45px;border-radius: 5px;" type="email" id="reset_password_request_form_email" name="reset_password_request_form_email"  required="required" />
  78.                         
  79.                     </label>
  80.                 </section>
  81.                 
  82.                 
  83.             </fieldset >
  84.             <footer style="background: #21264B">
  85.             <input style="background: #0098FF;  margin-top: -7px;width: 100%;height: 45px;border-radius: 5px;margin-bottom:12px" type="submit" class="btn btn-primary" value="Réinitialisez mot de passe" />
  86.             <div class="note"><br>
  87.                         <a style="color: #0098FF;" href="{{ path("login") }}">Se connecter</a>
  88.                     </div>
  89.             </footer>
  90.         {{ form_end(requestForm) }}
  91.     </div>
  92.     
  93.     
  94.     
  95. </div> #}