blob: 743176212f0f44e6126e4eded9557423f80edc10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{% extends "admin/change_form.html" %}
{% load i18n %}
{% comment %}
{% block after_field_sets %}
<p>{% trans "First, enter a username and password. Then, you'll be able to edit more user options." %}</p>
<fieldset class="module aligned">
<div class="row">
{# TODO: get required class on label_tag #}
<div class="column span-4"><label for="id_username" class="required">{% trans 'Username' %}:</label></div>
<div class="column span-flexible">
{{ form.username }}
{{ form.username.errors }}
<p class="help">{{ form.username.help_text }}</p>
</div>
</div>
<div class="row">
{# TODO: get required class on label_tag #}
<div class="column span-4"><label for="id_password1" class="required">{% trans 'Password' %}:</label></div>
<div class="column span-flexible">
{{ form.password1 }}
{{ form.password1.errors }}
</div>
</div>
<div class="row">
{# TODO: get required class on label_tag #}
<div class="column span-4"><label for="id_password2" class="required">{% trans 'Password (again)' %}:</label></div>
<div class="column span-flexible">
{{ form.password2 }}
{{ form.password2.errors }}
<p class="help">{% trans 'Enter the same password as above, for verification.' %}</p>
</div>
</div>
</fieldset>
{% endblock %}
{% endcomment %}
|