pytask/templates/registration/password_reset_confirm.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Fri, 04 Feb 2011 16:38:21 +0530
changeset 558 fd3e6f5f01bd
parent 532 1f08247a935c
permissions -rw-r--r--
Use the form helpers templatetag module in the addreviewer template.

{% extends "base.html" %}


{% load i18n %}
{% load form_helpers %}

{% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a> &rsaquo; {% trans 'Password reset confirmation' %}</div>{% endblock %}

{% block title %}{% trans 'Password reset' %}{% endblock %}

{% block content %}

{% if validlink %}

<h1>{% trans 'Enter new password' %}</h1>

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

{% as_div_form form "Password Change Form" csrf_token "Change password" %}
{% else %}

<h1>{% trans 'Password reset unsuccessful' %}</h1>

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

{% endif %}

{% endblock %}