{% extends "admin:admin/change_form.html" %}

{% block extrahead %}
{% load ellaadmin %}
{% load adminmedia %}
<script type='text/javascript'>
adminapps = {% insert_admin_apps %}
adminmediapath = "{% admin_media_prefix %}"
tagSuggesterUrl = "{# tag_suggester_url #}"
</script>

<script type="text/javascript" src="{% admin_media_prefix %}js/jquery.js"></script>
<script type="text/javascript" src="{% admin_media_prefix %}js/editinlineadd.js"></script>

{{ block.super }}

{% endblock %}

{% block object-tools %}
{% if change %}{% if not is_popup %}
  <ul class="object-tools">
  {% get_hits_link content_type_id object_id %}
  <li><a href="history/" class="historylink">{% trans "History" %}</a></li>
  {% if has_absolute_url %}<li><a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif%}
  </ul>
{% endif %}{% endif %}
{% endblock %}
