/django/contrib/admin/templates/admin/auth/user/add_form.html

https://code.google.com/p/mango-py/ · HTML · 14 lines · 12 code · 2 blank · 0 comment · 0 complexity · 5ac6c27e19f2318f3c9c92543f2995c0 MD5 · raw file

  1. {% extends "admin/change_form.html" %}
  2. {% load i18n %}
  3. {% block form_top %}
  4. {% if not is_popup %}
  5. <p>{% trans "First, enter a username and password. Then, you'll be able to edit more user options." %}</p>
  6. {% else %}
  7. <p>{% trans "Enter a username and password." %}</p>
  8. {% endif %}
  9. {% endblock %}
  10. {% block after_field_sets %}
  11. <script type="text/javascript">document.getElementById("id_username").focus();</script>
  12. {% endblock %}