templates/reset_password/reset.html.twig line 1

Open in your IDE?
  1. {% extends 'index.html.twig' %}
  2. {% block title %}Reset your password{% endblock %}
  3. {% set datas = {
  4.     'category': 'Mot de passe oubliĆ©',
  5.     'title': 'Je modifie mon mot de passe',
  6. }
  7. %}
  8. {% block content %}
  9.     <div class="bg_blue">
  10.         <section class="container form connexion">
  11.             <h3 class="category">{{datas.category}}</h3>
  12.             <h1 class="title">{{datas.title}}</h1>
  13.             <div class="row">
  14.                 <div class="formblock twocols">
  15.                     {{ form_start(resetForm, {
  16.                         'attr': {
  17.                             'id' : 'resetForm'
  18.                         }
  19.                     }) }}
  20.                         <div class="tabs_block">
  21.                             <ul class="tabs">
  22.                                 <li class="tab open"><p class="txt">{{ 'form.coords'|trans }}</p></li>
  23.                             </ul>
  24.                             <div class="content open" style="opacity: 1;">
  25.                                 <div class="input_group first">
  26.                                     {{ form_widget(resetForm.password.first,{
  27.                                         'attr': {
  28.                                             'class': 'inputdata',
  29.                                             'title': 'title.password.regex'
  30.                                         }
  31.                                     }) }}
  32.                                     {{ form_errors(resetForm.password.first, {
  33.                                         'attr': {
  34.                                             'class': 'inputdata'
  35.                                         }
  36.                                     }) }}
  37.                                 </div>
  38.                                 <div class="input_group last">
  39.                                     {{ form_widget(resetForm.password.second, {
  40.                                         'attr': {
  41.                                             'class': 'inputdata',
  42.                                             'title': 'title.password.regex'
  43.                                         }
  44.                                     }) }}
  45.                                     {{ form_errors(resetForm.password.second) }}
  46.                                 </div>
  47.                                 {{ form_widget(resetForm.email, {
  48.                                     'attr' : { 'value': email, 'class': 'inputdata'}
  49.                                 }) }}
  50.                             </div>
  51.                         </div>
  52.                         {% set label = 'form.confirm'|trans %}
  53.                         {% include 'olivier/elements/form_button.html.twig' with {label: label } %}
  54.                     {{ form_end(resetForm) }}
  55.                     </form>
  56.                 </div>
  57.             </div>
  58.         </section>
  59.     </div>
  60. {% endblock %}
  61. {% block javascripts %}
  62.     {{ parent() }}
  63.     {{ encore_entry_script_tags('auth') }}
  64. {% endblock %}