~ubuntu-branches/ubuntu/jaunty/python-django/jaunty

« back to all changes in this revision

Viewing changes to django/contrib/admin/templates/admin/auth/user/add_form.html

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant, Eddy Mulyono
  • Date: 2008-09-16 12:18:47 UTC
  • mfrom: (1.1.5 upstream) (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080916121847-mg225rg5mnsdqzr0
Tags: 1.0-1ubuntu1
* Merge from Debian (LP: #264191), remaining changes:
  - Run test suite on build.

[Eddy Mulyono]
* Update patch to workaround network test case failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<fieldset class="module aligned">
9
9
 
10
10
<div class="form-row">
11
 
  {{ form.username.html_error_list }}
 
11
  {{ form.username.errors }}
 
12
  {# TODO: get required class on label_tag #}
12
13
  <label for="id_username" class="required">{% trans 'Username' %}:</label> {{ form.username }}
13
 
  <p class="help">{{ username_help_text }}</p>
 
14
  <p class="help">{{ form.username.help_text }}</p>
14
15
</div>
15
16
 
16
17
<div class="form-row">
17
 
  {{ form.password1.html_error_list }}
 
18
  {{ form.password1.errors }}
 
19
  {# TODO: get required class on label_tag #}
18
20
  <label for="id_password1" class="required">{% trans 'Password' %}:</label> {{ form.password1 }}
19
21
</div>
20
22
 
21
23
<div class="form-row">
22
 
  {{ form.password2.html_error_list }}
 
24
  {{ form.password2.errors }}
 
25
  {# TODO: get required class on label_tag #}
23
26
  <label for="id_password2" class="required">{% trans 'Password (again)' %}:</label> {{ form.password2 }}
24
27
  <p class="help">{% trans 'Enter the same password as above, for verification.' %}</p>
25
28
</div>
26
29
 
 
30
<script type="text/javascript">document.getElementById("id_username").focus();</script>
 
31
 
27
32
</fieldset>
28
33
{% endblock %}