{% extends "admin/base_site.html" %} {% load i18n admin_urls static admin_modify pcart_core %} {% block extrahead %}{{ block.super }} {{ media }} {% endblock %} {% block extrastyle %}{{ block.super }}{% endblock %} {% block coltype %}colM{% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-form{% endblock %} {% if not is_popup %} {% block breadcrumbs %} {% endblock %} {% endif %} {% block content %}
{% block object-tools %} {% if change %}{% if not is_popup %} {% endif %}{% endif %} {% endblock %}
{% csrf_token %}{% block form_top %}{% endblock %}
{% if is_popup %}{% endif %} {% if to_field %}{% endif %} {% if save_on_top %}{% block submit_buttons_top %}{% submit_row %}{% endblock %}{% endif %} {% if errors %}

{% if errors|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}

{{ adminform.form.non_field_errors }} {% if adminform.form.settings_fields %}{{errors}}{% endif %} {% endif %} {% block field_sets %} {% for fieldset in adminform %} {% include "admin/includes/fieldset.html" %} {% endfor %} {% endblock %} {% for field_group in adminform.form.settings_fields %}
{% if field_group.name %}

{{ field_group.name }}

{% endif %} {% for option in field_group.settings %} {% if option.type == "paragraph" %} {{ option.content|markdown }} {% elif option.type == "header" %}

{{ option.content }}

{% elif option.type == "checkbox" %}
{% if option.info %}

{{option.info}}

{% endif %}
{% elif option.type == "radio" or option.type == "select" %}
{% if option.info %}

{{option.info}}

{% endif %}
{% elif option.type == "color" %}
{% if option.info %}

{{option.info}}

{% endif %}
{% elif option.type == "text" or option.type == "collection" or option.type == "blog" or option.type == "link_list" %}
{% if option.info %}

{{option.info}}

{% endif %}
{% elif option.type == "textarea" %}
{% if option.info %}

{{option.info}}

{% endif %}
{% elif option.type == "image" %}
{% if option.value %}

{% trans "Currently" %}: {{option.value}}
{% endif %} {% if option.info %}

{{option.info}}

{% endif %} {% if option.value %}

{% endif %}
{% endif %} {% endfor %}
{% endfor %} {% block after_field_sets %}{% endblock %} {% block inline_field_sets %} {% for inline_admin_formset in inline_admin_formsets %} {% include inline_admin_formset.opts.template %} {% endfor %} {% endblock %} {% block after_related_objects %}{% endblock %} {% block submit_buttons_bottom %}{% submit_row %}{% endblock %} {% block admin_change_form_document_ready %} {% endblock %} {# JavaScript for prepopulated fields #} {% prepopulated_fields_js %}
{% endblock %}