mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +00:00
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.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6aba7b25d9
commit
016f84ba34
@ -3,7 +3,6 @@
|
||||
<fieldset class="module aligned {{ bfset.fieldset.classes }}">
|
||||
<h2>{{ bound_inline.verbose_name|title }} #{{ forloop.counter }}</h2>
|
||||
{% for bfset in bound_inline_object.form %}
|
||||
<fieldset class="module aligned {{ bfset.fieldset.classes }}">
|
||||
{% if bfset.fieldset.name %}<h2>{{ bfset.fieldset.name }}</h2>{% endif %}
|
||||
{% if bfset.fieldset.description %}<div class="description">{{ bfset.fieldset.description }}</div>{% endif %}
|
||||
{% for line in bfset %}
|
||||
@ -21,7 +20,6 @@
|
||||
{% endfor %}
|
||||
{{ bound_inline_object.pk_field.field }}
|
||||
{% if bound_inline.formset.deletable %}<div class="form-row">{{ bound_inline_object.deletion_field.field }} {{ bound_inline_object.deletion_field.label_tag }}</div>{% endif %}
|
||||
</fieldset>
|
||||
{% endfor %}
|
||||
</fieldset>
|
||||
{% endfor %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user