Django

Code

Changeset 6055

Show
Ignore:
Timestamp:
09/06/07 21:45:32 (1 year ago)
Author:
jkocherhans
Message:

Pulled a fieldset tag out of the stacked edit inline template. Some design work is needed to actually support this, and trunk won't do it either.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/newforms-admin/django/contrib/admin/templates/admin/edit_inline_stacked.html

    r5588 r6055  
    44  <h2>{{ bound_inline.verbose_name|title }}&nbsp;#{{ forloop.counter }}</h2> 
    55  {% for bfset in bound_inline_object.form %} 
    6       <fieldset class="module aligned {{ bfset.fieldset.classes }}"> 
    76      {% if bfset.fieldset.name %}<h2>{{ bfset.fieldset.name }}</h2>{% endif %} 
    87      {% if bfset.fieldset.description %}<div class="description">{{ bfset.fieldset.description }}</div>{% endif %} 
     
    2221      {{ bound_inline_object.pk_field.field }} 
    2322      {% if bound_inline.formset.deletable %}<div class="form-row">{{ bound_inline_object.deletion_field.field }} {{ bound_inline_object.deletion_field.label_tag }}</div>{% endif %} 
    24       </fieldset> 
    2523  {% endfor %} 
    2624</fieldset>