{% load i18n adminmedia %}

{{ inline_admin_formset.opts.verbose_name_plural|capfirst }}

{{ inline_admin_formset.formset.management_form }} {{ 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.form.non_field_errors %}
  • {{ inline_admin_form.form.non_field_errors }}
{% endif %}

{{ inline_admin_formset.opts.verbose_name|title }} #{{ forloop.counter }}  {% if inline_admin_form.original %} {{ inline_admin_form.original }}{% endif %}

{% spaceless %} {% for fieldset in inline_admin_form %} {% for line in fieldset %} {% for field in line %} {% if field.is_hidden %} {{ field.field }} {% endif %} {% endfor %} {% endfor %} {% endfor %} {% endspaceless %}
{% for fieldset in inline_admin_form %} {% for line in fieldset %} {% for field in line %}
{% if field.is_readonly %}

{{ field.contents }}

{% else %} {{ field.field }} {{ field.field.errors.as_ul }} {% endif %}
{% endfor %} {% endfor %} {% endfor %}
{% spaceless %}
    {% if inline_admin_form.show_url %}{% endif %} {% if inline_admin_formset.opts.sortable_field_name %}
  • {% endif %} {% if inline_admin_formset.formset.can_delete %}
  • {{ inline_admin_form.deletion_field.field }} {% endif %}
{% endspaceless %}
{{ inline_admin_form.fk_field.field }} {% if inline_admin_form.has_auto_field %}{{ inline_admin_form.pk_field.field }}{% endif %}
{% endfor %}
{% blocktrans with inline_admin_formset.opts.verbose_name|title as verbose_name %}Add another {{ verbose_name }}{% endblocktrans %}