templates/registration/password_change_form.html
author Nishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 12:35:18 +0530
changeset 276 c8c47fcb46f0
parent 270 df56daf2178e
permissions -rw-r--r--
created a view for view notification and included the url. made changes accordingly in browse notifications
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
270
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     1
{% extends "base.html" %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     2
{% load i18n %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     3
{% block userlinks %}{% url django-admindocs-docroot as docsroot %}{% if docsroot %}<a href="{{ docsroot }}">{% trans 'Documentation' %}</a> / {% endif %} {% trans 'Change password' %} / <a href="../logout/">{% trans 'Log out' %}</a>{% endblock %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     4
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a> &rsaquo; {% trans 'Password change' %}</div>{% endblock %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     5
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     6
{% block title %}{% trans 'Password change' %}{% endblock %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     7
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     8
{% block content %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     9
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    10
<h1>{% trans 'Password change' %}</h1>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    11
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    12
<p>{% trans "Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly." %}</p>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    13
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    14
<form action="" method="post">
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    15
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    16
{{ form.old_password.errors }}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    17
<p class="aligned wide"><label for="id_old_password">{% trans 'Old password:' %}</label>{{ form.old_password }}</p>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    18
{{ form.new_password1.errors }}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    19
<p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    20
{{ form.new_password2.errors }}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    21
<p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    22
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    23
<p><input type="submit" value="{% trans 'Change my password' %}" /></p>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    24
</form>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    25
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    26
{% endblock %}