{% extends "admin/change_form.html" %}{% load i18n cms_tags %}

{% block extrahead %}{{ block.super }}
<script type="text/javascript">
    if (history.pushState && location.href.indexOf('reload_window') > -1) {
        history.pushState(null, null, location.href.replace(/[?&]reload_window/, ''));
        window.top.location.reload()
    }
</script>
{% endblock %}

{% block breadcrumbs %}
<div class="breadcrumbs">
	<a href="{% cms_admin_url 'index' %}">{% trans 'Home' %}</a>
	&rsaquo; <a href="{% cms_admin_url 'app_list' app_label=opts.app_label %}">{{ app_label|capfirst|escape }}</a>
	&rsaquo; {{ opts.verbose_name_plural|capfirst }}
	&rsaquo; {% if add %}{% trans 'Add' %} {{ opts.verbose_name }}{% else %}{{ original|truncatewords:"18" }}{% endif %}
</div>
{% endblock %}

{% block object-tools %}{% endblock %}

{% block submit_buttons_bottom %}
<div class="submit-row">
	<input type="submit" value="{% trans 'Save' %}" class="default" name="_save" {{ onclick_attrib }}/>
</div>
{% endblock %}
