{% load i18n %} {% load render %} {% load hasrelated %}
{% with inline_admin_formset.formset.instance as section %}

{{ inline_admin_formset.opts.verbose_name_plural|title }}   (drag and drop to reorder)

{{ inline_admin_formset.formset.management_form }} {{ inline_admin_formset.formset.non_form_errors }}
{% if inline_admin_formset.formset.instance.is_root %}
The Root node has no page blocks.
{% endif %} {% for block in section.pageblock_set.all %} {% endfor %}

{{block.content_type.name|title}}

{% if block.label %}

{{ block.label }}

{% endif %} {% render block %}
{% if block.content_object|hasrelated %} {% trans 'Change' %} {% else %} {% trans 'Change' %} {% endif %}       {% trans 'Delete' %}



{% if not inline_admin_formset.formset.instance.is_root %} {% endif %} {% endwith %}