{% extends "admin/base_site.html" %} {% load i18n admin_static admin_modify bootstrapped_goodies_tags server_tags %} {% load url from future %} {% load admin_urls %} {% block extrahead %} {{ block.super }} {% url 'admin:jsi18n' as jsi18nurl %} {{ media }} {% endblock %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block coltype %}{% if ordered_objects %}colMS{% else %}colM{% endif %}{% endblock %} {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %} {% block title %}{% trans opts.verbose_name %} {{ original }}{% endblock title %} {% block content_title %} {% if title %}

{% trans opts.verbose_name %}: {% link opts %}

{% endif %} {% endblock content_title %} {% block object-tools %} {% endblock %} {% block content %} {% with module_name=opts.module_name|lower|slugify %} {% render_with_template_if_exist "admin_model_"|add:opts.module_name|add:"_change_form.html" "" %} {% endwith %}
{% csrf_token %} {% block form_top %}{% endblock %}
{% blocktrans %}Fields in bold are required.{% endblocktrans %}
{% if errors %}
{% blocktrans count counter=errors|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %} {{ adminform.form.non_field_errors }}
{% endif %} {% if save_on_top %}{% block submit_buttons_top %}{% submit_row %}{% endblock %}{% endif %}
{% if is_popup %}{% endif %} {% block field_sets %} {% for fieldset in adminform %} {% include "admin/includes/fieldset.html" %} {% endfor %} {% endblock %} {% 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 %} {% if adminform and add %} {% endif %} {# JavaScript for prepopulated fields #} {% prepopulated_fields_js %}
{% block submit_buttons_bottom %}{% submit_row %}{% endblock %}
{% endblock content %}