{% extends "admin/base_site.html" %} {% load adminmedia admin_list djblets_utils i18n staticfiles %} {% block title %}{{form.Meta.title}} {{block.super}}{% endblock %} {% block extrahead %} {{block.super}} {% endblock %} {% block bodyclass %}{{block.super}} change-form{% endblock %} {% block content %} {% if form.error_dict %}

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

{% endif %} {% if saved %} {% endif %}

{% block form_title %}{{form.Meta.title}}{% endblock %}

{% block form_content %} {% if form.Meta.fieldsets %} {% for fieldset in form.Meta.fieldsets %}
{% if fieldset.title %}

{{fieldset.title}}

{% endif %} {% if fieldset.description %}
{{fieldset.description|paragraphs}}
{% endif %} {% for fieldname in fieldset.fields %} {% with form|getitem:fieldname as field %} {% include "siteconfig/settings_field.html" %} {% endwith %} {% endfor %}
{% endfor %} {% else %}
{% for field in form %} {% include "siteconfig/settings_field.html" %} {% endfor %}
{% endif %} {% endblock %}
{% endblock %}