{% extends '@PlatformSecurity/Login/base.html.twig' %}
{% set titles = { 0: { title: 'SchoolStatus Sites & Apps', rank: -100 }, 1: { title: 'Reset Password', rank: 100 } } %}
{% set body_attrs = { 0: { action: 'append', arg1: 'class', arg2: 'page-login page-login--main'} } %}
{% block header %}
<p class="login-panel__title">
<a href="https://www.schoolnow.com" target="_blank">SchoolStatus Sites & Apps</a>
</p>
<h1 class="login-panel__heading">
Forgot Password?
</h1>
{% endblock %}
{% block body %}
<p>Enter your email address and we'll send you a link to reset your SchoolStatus Sites & Apps password.</p>
{{ form_start(form, {
attr: {
autocomplete: 'on'
}
}) }}
{% if form.vars.errors|length > 0 %}
<div class="alert alert-danger">
{% for error in form.vars.errors %}
<p>{{ error.message }}</p>
{% endfor %}
</div>
{% endif %}
<div class="form-group">
{{ form_label(form.email) }}
{{ form_widget(form.email, {
'attr': {
'class': 'form-control'
}
}) }}
</div>
<div class="form-group">
{{ form_widget(form.recaptcha) }}
{{ form_errors(form.recaptcha) }}
</div>
<div class="form-group login-actions">
<button type="submit" class="btn btn-success btn-block" id="password-forgot-submit" name="password-forgot-submit">Reset Password</button>
</div>
{{ form_end(form) }}
{% endblock %}
{% block footer %}
<p><a href="{{ path(routes.login) }}">Return to Sign In.</a></p>
{{ parent() }}
{% endblock %}