From eefec151d1443dfadaf0ef24f7422d4f22f52b43 Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Mon, 1 Sep 2008 22:59:43 +0000 Subject: [PATCH] Fixed #2612 -- Fixed admin formatting when help_text is used with multiple fields on the same line. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8824 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/templates/admin/includes/fieldset.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/django/contrib/admin/templates/admin/includes/fieldset.html b/django/contrib/admin/templates/admin/includes/fieldset.html index 27e54c75d3..26c918c051 100644 --- a/django/contrib/admin/templates/admin/includes/fieldset.html +++ b/django/contrib/admin/templates/admin/includes/fieldset.html @@ -5,12 +5,14 @@
{{ line.errors }} {% for field in line %} +
{% if field.is_checkbox %} {{ field.field }}{{ field.label_tag }} {% else %} {{ field.label_tag }}{{ field.field }} {% endif %} {% if field.field.field.help_text %}

{{ field.field.field.help_text|safe }}

{% endif %} +
{% endfor %}
{% endfor %}