src/Platform/SecurityBundle/Resources/views/Login/resetPassword.html.twig line 1

Open in your IDE?
  1. {% extends '@PlatformSecurity/Login/base.html.twig' %}
  2. {% set titles = { 0: { title: 'SchoolStatus Sites & Apps', rank: -100 }, 1: { title: 'Reset Password', rank: 100 } } %}
  3. {% set body_attrs = { 0: { action: 'append', arg1: 'class', arg2: 'page-login page-login--main'} } %}
  4. {% block header %}
  5.     <p class="login-panel__title">
  6.         <a href="https://www.schoolnow.com" target="_blank">SchoolStatus Sites &amp; Apps</a>
  7.     </p>
  8.     <h1 class="login-panel__heading">
  9.         Forgot Password?
  10.     </h1>
  11. {% endblock %}
  12. {% block body %}
  13.     <p>Enter your email address and we'll send you a link to reset your SchoolStatus Sites &amp; Apps password.</p>
  14.     {{ form_start(form, {
  15.         attr: {
  16.             autocomplete: 'on'
  17.         }
  18.     }) }}
  19.     {% if form.vars.errors|length > 0 %}
  20.         <div class="alert alert-danger">
  21.             {% for error in form.vars.errors %}
  22.                 <p>{{ error.message }}</p>
  23.             {% endfor %}
  24.         </div>
  25.     {% endif %}
  26.     <div class="form-group">
  27.         {{ form_label(form.email) }}
  28.         {{ form_widget(form.email, {
  29.             'attr': {
  30.                 'class': 'form-control'
  31.             }
  32.         }) }}
  33.     </div>
  34.     <div class="form-group">
  35.         {{ form_widget(form.recaptcha) }}
  36.         {{ form_errors(form.recaptcha) }}
  37.     </div>
  38.     <div class="form-group login-actions">
  39.         <button type="submit" class="btn btn-success btn-block" id="password-forgot-submit" name="password-forgot-submit">Reset Password</button>
  40.     </div>
  41.     {{ form_end(form) }}
  42. {% endblock %}
  43. {% block footer %}
  44.     <p><a href="{{ path(routes.login) }}">Return to Sign In.</a></p>
  45.     {{ parent() }}
  46. {% endblock %}