Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #9276 -- Corrected the way the CSS class is rolled out in a sta…

…cked edit-inline template. Thanks to creecode@gmail.com for the report and fix.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 85691576649121ff3aaef2bc609282fae0683de4 1 parent b2a4377
Russell Keith-Magee authored February 22, 2009
2  django/contrib/admin/templates/admin/edit_inline/stacked.html
@@ -5,7 +5,7 @@
5 5
 {{ inline_admin_formset.formset.non_form_errors }}
6 6
 
7 7
 {% for inline_admin_form in inline_admin_formset %}
8  
-<div class="inline-related {% if forloop.last %}last-related{% endif %}">
  8
+<div class="inline-related{% if forloop.last %} last-related{% endif %}">
9 9
   <h3><b>{{ inline_admin_formset.opts.verbose_name|title }}:</b>&nbsp;{% if inline_admin_form.original %}{{ inline_admin_form.original }}{% else %} #{{ forloop.counter }}{% endif %}
10 10
     {% 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 %}
11 11
   </h3>

0 notes on commit 8569157

Please sign in to comment.
Something went wrong with that request. Please try again.