From 2ab3b52d2adb0aa6d15aa94e4fc5aab9ec3554d0 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Fri, 6 Aug 2010 14:58:05 +0000 Subject: Fixed #14012 -- Corrected the handling of the create user popup dialog in the admin. Thanks to gk@lka.hu for the report, and Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13501 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/templates/admin/auth/user/add_form.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'django') diff --git a/django/contrib/admin/templates/admin/auth/user/add_form.html b/django/contrib/admin/templates/admin/auth/user/add_form.html index b57f59b82e..262089f4bf 100644 --- a/django/contrib/admin/templates/admin/auth/user/add_form.html +++ b/django/contrib/admin/templates/admin/auth/user/add_form.html @@ -2,8 +2,12 @@ {% load i18n %} {% block form_top %} + {% if not is_popup %}

{% trans "First, enter a username and password. Then, you'll be able to edit more user options." %}

+ {% else %} +

{% trans "Enter a username and password." %}

+ {% endif %} {% endblock %} {% block after_field_sets %} -- cgit v1.3