{% extends "admin/change_form.html" %} {% load i18n admin_modify adminmedia %} {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %} {% block coltype %}{% if ordered_objects %}colMS{% else %}colM{% endif %}{% endblock %} {% block extrahead %}{{ block.super }} {% if FEINCMS_ADMIN_MEDIA_HOTLINKING %} {% else %} {% endif %} {% for inc in object.feincms_item_editor_includes.head %}{% include inc %}{% endfor %} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}
{% block object-tools %} {% endblock %}
{% if errors %}

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

    {% for error in object_form.non_field_errors %}
  • {{ error }}
  • {% endfor %}
{% endif %}
{% for field in top_fields %}
{% ifequal field.name "language" %} {# Maybe this should be moved somewhere else, since this is specific for translated objects... #} {% with object.available_translations as translations %} {% if translations %}
{% trans "available translations" %}: {% for translation in translations %} {{ translation.language|upper }}{% if not forloop.last %},{% endif %} {% endfor %}
{% endif %} {% endwith %} {% endifequal %} {{ field.errors }} {{ field }} {% if field.field.help_text %}

{{ field.field.help_text|safe }}

{% endif %}
{% endfor %}
{% for region in object.template.regions %} {% endfor %}
{% for field in settings_fields %}
{{ field.errors }} {{ field }} {% if field.field.help_text %}

{{ field.field.help_text|safe }}

{% endif %}
{% endfor %}
{% for region in object.template.regions %}
{% trans "Region empty" %}
{% if region.inherited %} {% trans "Content from the parent site is automatically inherited. To override this behaviour, add some content." %} {% endif %}
{% trans "Add new item" %}:
{% ifnotequal object.template.regions|length 1 %}
{% trans "Move selected item to" %}:
{% endifnotequal %}
{% endfor %}
{% for formset in inline_formsets %}
{{ formset.management_form }}
{% for form in formset.forms %}
{% for field in form %} {% if field.is_hidden %} {{ field }} {% else %}
{{ field.errors }} {{ field }} {% if field.field.help_text %}

{{ field.field.help_text|safe }}

{% endif %}
{% endif %} {% endfor %}
{% endfor %}
{% endfor %}
{% endblock %}