From d8b4329d8f323d174662f4983f781e43b6c60593 Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Wed, 26 Jan 2011 13:43:37 +0100 Subject: Added password strenght indicator js and css. --- templates/changepw/change_password.html | 36 +++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/changepw/change_password.html b/templates/changepw/change_password.html index e8af7bd..3b5db61 100644 --- a/templates/changepw/change_password.html +++ b/templates/changepw/change_password.html @@ -1,11 +1,39 @@ -{% extends "base.html" %} - +{% extends "nordunet_base.html" %} +{% block js %} + + +{% endblock %} {% block content %} +

Change password

{% if form %} -
{% csrf_token %} - {{ form.as_p}} +

When thinking of a new password you need to remember to use:

+ + +

+ {{ form.non_field_errors }} +

+ {% csrf_token %} + + {% for field in form %} + + + + + + + {% endfor %} +
{{ field.errors }}
{{ field.label_tag }}:{{ field }}
+ {% else %} {% if return_value == 0 %}

Your password was changed successfully.

-- cgit v1.1