{% extends 'portal/form_shapes.html' %} {% load static %} {% block form_content %}

Password Reset

{% if validlink %}

Please enter a new password and confirm it in the boxes below to reset your account’s password.

{% csrf_token %} {{ form.non_field_errors }}
{{ form.new_password1 }} {{ form.new_password1.help_text }}
{{ form.new_password1.errors }}
{{ form.new_password2 }} {{ form.new_password2.help_text }}
{{ form.new_password2.errors }}
{% if usertype == "TEACHER" %}
{% else %}
{% endif %}
{% if usertype == "TEACHER" %} Cancel {% else %} Cancel {% endif %}
{% else %} Verification failure

The password reset link used was invalid. Did you use it once already?

Please request to reset your password again.

{% if usertype == "TEACHER" %} Back to homepage {% else %} Back to homepage {% endif %}
{% endif %} {% endblock form_content %}