{% extends "base.html" %} {% load i18n towel_form_tags %} {% block title %}{% trans "Password reset" %} - {{ block.super }}{% endblock %} {% block main %}

{% trans "Password reset" %}

{% include "towel/_messages.html" %} {% if validlink %}

{% trans 'Enter new password' %}

{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}

{% csrf_token %} {% form_errors form %} {% form_item form.new_password1 %} {% form_item form.new_password2 %}
{% else %}

{% trans 'Password reset unsuccessful' %}

{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}

{% endif %}
{% endblock %}