{% extends "admin/base_site.html" %}
{% load static i18n admin_urls %}
{% block extrahead %}{{ block.super }}
    <script type="text/javascript" src="{% url 'admin:jsi18n' %}"></script>
    {{ media }}
{% endblock %}
{% block extrastyle %}{{ block.super }}
    <link rel="stylesheet" type="text/css" href="{% static "admin/css/forms.css" %}">
{% endblock %}
{% block breadcrumbs %}
<div class="breadcrumbs">
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
&rsaquo; <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_config.verbose_name }}</a>
&rsaquo; {% if has_view_permission %}<a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %}
&rsaquo; <a href="{% url opts|admin_urlname:'change' object_id=original.pk %}">{{ original|truncatewords:"18" }}</a>
&rsaquo; {{ title }}
</div>
{% endblock %}
{% block content %}
    {% block summary_title %}{% if summary %}<h2>{{ summary }}</h2>
    {% endif %}{% endblock %}
    {% block form %}
        <form action="" method="post">
            {% csrf_token %}
            {% block field_sets %}
            {% for fieldset in adminform %}
              {% include "admin/includes/fieldset.html" %}
            {% endfor %}
            {% endblock %}
            {{ redirect_form }}
            <input type="hidden" name="action" value="{{ action }}"/>
            <input type="submit" name="apply" value="{{ button }}"/>
        </form>
    {% endblock %}
{% endblock %}