root / env / lib / python2.7 / site-packages / django / contrib / admin / templates / registration / password_change_form.html @ 1a305335
History | View | Annotate | Download (2.02 KB)
1 | 1a305335 | officers | {% extends "admin/base_site.html" %} |
---|---|---|---|
2 | {% load i18n static %} |
||
3 | {% load url from future %} |
||
4 | {% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "admin/css/forms.css" %}" />{% endblock %} |
||
5 | {% block userlinks %}{% url 'django-admindocs-docroot' as docsroot %}{% if docsroot %}<a href="{{ docsroot }}">{% trans 'Documentation' %}</a> / {% endif %} {% trans 'Change password' %} / <a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>{% endblock %} |
||
6 | {% block breadcrumbs %} |
||
7 | <div class="breadcrumbs"> |
||
8 | <a href="{% url 'admin:index' %}">{% trans 'Home' %}</a> |
||
9 | › {% trans 'Password change' %}
|
||
10 | </div>
|
||
11 | {% endblock %} |
||
12 | |||
13 | {% block title %}{% trans 'Password change' %}{% endblock %} |
||
14 | |||
15 | {% block content %}<div id="content-main"> |
||
16 | |||
17 | <form action="" method="post">{% csrf_token %} |
||
18 | <div>
|
||
19 | {% if form.errors %} |
||
20 | <p class="errornote"> |
||
21 | {% blocktrans count counter=form.errors.items|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %} |
||
22 | </p>
|
||
23 | {% endif %} |
||
24 | |||
25 | <h1>{% trans 'Password change' %}</h1> |
||
26 | |||
27 | <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> |
||
28 | |||
29 | <fieldset class="module aligned wide"> |
||
30 | |||
31 | <div class="form-row"> |
||
32 | {{ form.old_password.errors }} |
||
33 | <label for="id_old_password" class="required">{% trans 'Old password' %}:</label>{{ form.old_password }} |
||
34 | </div>
|
||
35 | |||
36 | <div class="form-row"> |
||
37 | {{ form.new_password1.errors }} |
||
38 | <label for="id_new_password1" class="required">{% trans 'New password' %}:</label>{{ form.new_password1 }} |
||
39 | </div>
|
||
40 | |||
41 | <div class="form-row"> |
||
42 | {{ form.new_password2.errors }} |
||
43 | <label for="id_new_password2" class="required">{% trans 'Password (again)' %}:</label>{{ form.new_password2 }} |
||
44 | </div>
|
||
45 | |||
46 | </fieldset>
|
||
47 | |||
48 | <div class="submit-row"> |
||
49 | <input type="submit" value="{% trans 'Change my password' %}" class="default" /> |
||
50 | </div>
|
||
51 | |||
52 | <script type="text/javascript">document.getElementById("id_old_password").focus();</script> |
||
53 | </div>
|
||
54 | </form></div> |
||
55 | |||
56 | {% endblock %} |