templates\forgot_password\index.html.twig line 1

Open in your IDE?
  1. {% extends '_base.html.twig' %}
  2. {% block title %}
  3. {% include 'parts/_page-title.html.twig' %}
  4. {% endblock %}
  5. {% block stylesheets %}
  6.     {{ parent() }}
  7.     {{ encore_entry_link_tags('forgot-password', null, site|lower) }}
  8.     {{ encore_entry_link_tags('custom', null, site|lower) }}
  9. {% endblock %}
  10. {% block body %}
  11.     {% include '_header.html.twig' %}
  12.     <div class="reg-form forgot-password-form">
  13.         <div class="reg-form__col">
  14.             {% include 'parts/_aside-signin.html.twig' %}
  15.         </div>
  16.         
  17.         
  18.         
  19.         <div class="reg-form__col">            
  20.             <div class="form__outer">
  21.                 <div class="form__inner">
  22.                     
  23.        
  24.                     <form class="form" method="POST" id="PasswordRestore">
  25.                         {% if success is defined and success == true %}
  26.             <div class="form-success">
  27.                 <div class="form-success__outer">
  28.                   <div class="form-success__inner">
  29.                     <div class="form-success__icon">                     
  30.                       {% include 'parts/_img.html.twig' with {'imageName': 'mail.webp', 'imagePath': '/build/'~subPath~'/img/reg-form/mail.webp'} %}
  31.                     </div>
  32.                       
  33.                     <div class="form-success__header">
  34.                       <div class="form-success__title">Thank you!</div>
  35.                       <div class="form-success__subtitle">{{uiMsg}}</div>                      
  36.                     </div>
  37.                     
  38.                     <div class="form-success__description">
  39.                       <div class="form-success__text">
  40.                         {% if not isSms %}
  41.                             <p>Please check your email for the reset link we have sent to you (it may be in your spam folder).</p>
  42.                             <p>Click on the link in the email to sign in.</p>
  43.                             <p>If you cannot locate the email, please contact us to assist you with logging in.</p>                        
  44.                         {% else %}
  45.                             <p>Click here to <a href="{{path('signin',{'state':'code'})}}">Sign in with the code</a> we have sent.</p>
  46.                             <p>If you cannot locate the text or do not have access to the phone linked to your account, please contact us to assist you with logging in.</p>
  47.                             <p>You can contact your tutor in the first instance. You can also email our office at adultlearning@camden.gov.uk. </p>
  48.                         {% endif %}
  49.                       </div>                        
  50.                     </div>
  51.                     
  52.                   </div>
  53.                 </div>
  54.             </div>
  55.         {% elseif success is defined and success == false %}
  56.             
  57.             {% include 'parts/_standardError.html.twig' with {'errorMsg':uiMsg} %}
  58.                 
  59.         {% endif %}
  60.           {% if success is not defined or (success is defined and success == false) %}               <div class="form__inner">            
  61.                             <div class="form__header">
  62.                               <div class="form__title form-title-sm">
  63.                                 {% if texts is defined %}
  64.                                     <h1>{{ texts.heading }}</h1> 
  65.                                 {% endif %}
  66.                               </div>
  67.                               <div class="form__subtitle form-subtitle-sm">
  68.                                 {% if texts is defined %}
  69.                                    {{ texts.instructions|raw }}
  70.                                 {% endif %}
  71.                               </div>                              
  72.                             </div>
  73.                         </div>
  74.                         <div class="form__field">
  75.                             <label>
  76.                                 Enter your e-mail or mobile number
  77.                             </label>
  78.                             <input type="text" name="userid" id="signInIDtext" value="" class="input__field"/>
  79.                         </div>
  80.                           <div class="error-msg" id="ErrorMsg">
  81.                               <p></p>
  82.                           </div>
  83.                         <div class="form__signin-footer">
  84.                             <div class="form__signin-btn">
  85.                               <button type="submit" class="btn btn--fw" id="submitSignInIdBtn">
  86.                                 <span>send password reset code</span>
  87.                               </button>
  88.                             </div>
  89.                         </div>
  90.                         <div class="form__note form-note-sm">
  91.                             {% if texts is defined %}
  92.                                 <p>{{ texts.contact }}</p> 
  93.                             {% endif %}
  94.                         </div>
  95.                         {% endif %}
  96.                     </form>
  97.                         
  98.                 </div>
  99.             </div>
  100.         </div>
  101.         
  102.     </div>
  103. {% block javascripts %}
  104.     {{ encore_entry_script_tags('passwordReq', null, site|lower) }}
  105.     {{ encore_entry_script_tags('forgot-password', null, site|lower) }}
  106.     {{ encore_entry_script_tags('custom', null, site|lower) }}
  107. {% endblock %}
  108. {% endblock %}