X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/6b8ae453480c263fa000768c6bf44d557e728b60..bf78e0c846297a4f732ffdfc181b3c89428fd2a4:/templates/admin/philo/edit_inline/tabular_container.html?ds=sidebyside diff --git a/templates/admin/philo/edit_inline/tabular_container.html b/templates/admin/philo/edit_inline/tabular_container.html index 60ca7f8..77d5e23 100644 --- a/templates/admin/philo/edit_inline/tabular_container.html +++ b/templates/admin/philo/edit_inline/tabular_container.html @@ -7,15 +7,6 @@

{{ inline_admin_formset.opts.verbose_name_plural|capfirst }}

{{ inline_admin_formset.formset.non_form_errors }} - - {% for field in inline_admin_formset.fields %} - {% if not field.widget.is_hidden %} - {{ field.label|capfirst }} - {% endif %} - {% endfor %} - {% if inline_admin_formset.formset.can_delete %}{% endif %} - - {% for inline_admin_form in inline_admin_formset %} {% if inline_admin_form.has_auto_field %}{{ inline_admin_form.pk_field.field }}{% endif %} @@ -28,33 +19,26 @@ {% endfor %} {% endfor %} {% endfor %} - {{ inline_admin_form.form.name.as_hidden }} {% endspaceless %} - {% if inline_admin_form.form.non_field_errors %} - + {% endfor %} + {% for form in inline_admin_formset.formset.forms %} + {% if form.non_field_errors %} + {% endif %} - - - {% for fieldset in inline_admin_form %} - {% for line in fieldset %} - {% for field in line %} - {% if field.field.name != 'name' %} + + + {% for field in form %} + {% if not field.is_hidden %} {% endif %} {% endfor %} - {% endfor %} - {% endfor %} - {% if inline_admin_formset.formset.can_delete %} - - {% endif %} {% endfor %}
{% trans "Delete?" %}
{{ inline_admin_form.form.non_field_errors }}
{{ form.non_field_errors }}
{{ inline_admin_form.form.verbose_name|capfirst }}
{{ form.verbose_name|capfirst }}: - {% if field.is_readonly %} -

{{ field.contents }}

- {% else %} {{ field.field.errors.as_ul }} - {{ field.field }} - {% endif %} + {{ field }} + {% if field.field.help_text %} +

{{ field.field.help_text|safe }}

+ {% endif %}
{% if inline_admin_form.original %}{{ inline_admin_form.deletion_field.field }}{% endif %}