diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2009-02-22 08:08:17 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2009-02-22 08:08:17 +0000 |
| commit | 3c48d866f66fffb266989bc06ed7e5215509cb72 (patch) | |
| tree | 83fb7d6e64708be5490863f63784e140a7b0ebae | |
| parent | 16f05e78f178d337ff0b801740e571c70d60d757 (diff) | |
[1.0.X] Fixed #9276 -- Corrected the way the CSS class is rolled out in a stacked edit-inline template. Thanks to creecode@gmail.com for the report and fix.
Merge of r9877 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9878 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/admin/templates/admin/edit_inline/stacked.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/admin/templates/admin/edit_inline/stacked.html b/django/contrib/admin/templates/admin/edit_inline/stacked.html index 9d9f59896c..85488558a2 100644 --- a/django/contrib/admin/templates/admin/edit_inline/stacked.html +++ b/django/contrib/admin/templates/admin/edit_inline/stacked.html @@ -5,7 +5,7 @@ {{ inline_admin_formset.formset.non_form_errors }} {% for inline_admin_form in inline_admin_formset %} -<div class="inline-related {% if forloop.last %}last-related{% endif %}"> +<div class="inline-related{% if forloop.last %} last-related{% endif %}"> <h3><b>{{ inline_admin_formset.opts.verbose_name|title }}:</b> {% if inline_admin_form.original %}{{ inline_admin_form.original }}{% else %} #{{ forloop.counter }}{% endif %} {% if inline_admin_formset.formset.can_delete and inline_admin_form.original %}<span class="delete">{{ inline_admin_form.deletion_field.field }} {{ inline_admin_form.deletion_field.label_tag }}</span>{% endif %} </h3> |
