{% extends "admin/base_site.html" %}{% load i18n admin_modify admin_static yawdadmin_tags yawdadmin_filters admin_urls %} {% block bodyspy %}{% if adminform.model_admin.affix and not is_popup %} data-spy="scroll" data-target=".affix-sidebar"{% endif %}{% endblock %} {% block extrastyle %}{{ block.super }} {% endblock %} {% block extrahead %}{{ block.super }}{% url 'admin:jsi18n' as jsi18nurl %} {% clean_media media %}{% endblock %} {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %} {% block inner-title %}{% if add %}{% trans "Add" %}{% else %}{% trans 'Edit' %} < {{original}}{% endif %} < {{ opts.verbose_name_plural|capfirst }}{% endblock %} {% block content_title %}{% if title %} {% endif %}{% endblock %} {% block breadcrumbs %}{% if not is_popup %} {% endif %}{% endblock %} {% block object-tools %}{% if change and not is_popup %} {% endif %}{% endblock %} {% block content %}
{% if adminform.model_admin.affix and not is_popup %}
{% endif %}
{% csrf_token %}{% block form_top %}{% endblock %}{% if save_on_top %}{% submit_row %}{% endif %}
{% if is_popup %} {% endif %}{% 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 %} {% submit_row %}{% if adminform and add %} {% endif %} {% prepopulated_fields_js %}
{% if adminform.model_admin.affix and not is_popup %}
{% endif %}
{% endblock %}