{%extends "admin/change_form.html"%} {%load i18n admin_modify adminmedia%} {%block extrastyle%} {{ block.super }} {%endblock%} {%block breadcrumbs%}{%if not is_popup%} {%endif%}{%endblock%} {%block content%}
{%if parent%}

{%trans "Belonging to the"%} {{model_label}} {{parent.title}}

{%endif%}
{% if is_popup %}{% endif %} {% csrf_token %} {% if errors %}

{% blocktrans count errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}

{{ adminform.form.non_field_errors }} {% endif %} {% for fieldset in adminform %} {% include "admin/includes/fieldset.html" %} {% endfor %} {% block after_field_sets %}{% endblock %} {% for inline_admin_formset in inline_admin_formsets %} {% include inline_admin_formset.opts.template %} {% endfor %} {% block after_related_objects %}{% endblock %} {%if parent.has_children%} {%with parent.get_children as children%}
Position New {{model_label|capfirst}}

The {{model_label}} that you're adding this new {{model_label}} to already has {{children|pluralize:"a,some"}} sub-{{model_label}}{{children|pluralize}} ({%for child in children%}{{child.title}}{%if not forloop.last%}, {%endif%}{%endfor%} ). How do you want to position this new section in relation to {{children|pluralize:"it,them"}}?

{%endwith%} {%endif%}
{% if adminform and add %} {% endif %}
{# JavaScript for prepopulated fields #} {% prepopulated_fields_js %} {%endblock%}