templates/registration/password_change_form.html
author anoop
Tue, 09 Mar 2010 11:39:34 +0530
changeset 214 679c7e237052
parent 210 85165597c592
permissions -rw-r--r--
added two more templates for displaying admin login form and admin logout message.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
210
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
     1
{% extends "base.html" %}
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
     2
{% load i18n %}
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
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 %}
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
     4
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a> &rsaquo; {% trans 'Password change' %}</div>{% endblock %}
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
     5
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
     6
{% block title %}{% trans 'Password change' %}{% endblock %}
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
     7
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
     8
{% block content %}
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
     9
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
    10
<h1>{% trans 'Password change' %}</h1>
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
    11
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
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>
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
    13
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
    14
<form action="" method="post">
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
    15
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
    16
{{ form.old_password.errors }}
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
    17
<p class="aligned wide"><label for="id_old_password">{% trans 'Old password:' %}</label>{{ form.old_password }}</p>
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
    18
{{ form.new_password1.errors }}
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
    19
<p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
    20
{{ form.new_password2.errors }}
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
    21
<p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p>
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
    22
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
    23
<p><input type="submit" value="{% trans 'Change my password' %}" /></p>
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
    24
</form>
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
    25
85165597c592 added templates, so as to use pytask interface rather than django default interface.
anoop
parents:
diff changeset
    26
{% endblock %}