Author: brosner
Date: 2008-09-01 17:59:43 -0500 (Mon, 01 Sep 2008)
New Revision: 8824
Modified:
django/trunk/django/contrib/admin/templates/admin/includes/fieldset.html
Log:
Fixed #2612 -- Fixed admin formatting when help_text is used with multiple
fields on the same line.
Modified:
django/trunk/django/contrib/admin/templates/admin/includes/fieldset.html
===================================================================
--- django/trunk/django/contrib/admin/templates/admin/includes/fieldset.html
2008-09-01 22:43:38 UTC (rev 8823)
+++ django/trunk/django/contrib/admin/templates/admin/includes/fieldset.html
2008-09-01 22:59:43 UTC (rev 8824)
@@ -5,12 +5,14 @@
<div class="form-row{% if line.errors %} errors{% endif %} {% for field
in line %}{{ field.field.name }} {% endfor %} ">
{{ line.errors }}
{% for field in line %}
+ <div class="float-left">
{% if field.is_checkbox %}
{{ field.field }}{{ field.label_tag }}
{% else %}
{{ field.label_tag }}{{ field.field }}
{% endif %}
{% if field.field.field.help_text %}<p class="help">{{
field.field.field.help_text|safe }}</p>{% endif %}
+ </div>
{% endfor %}
</div>
{% endfor %}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---