{% extends "admin/change_form.html" %}{% load extra_urls i18n admin_static admin_list admin_urls %}{% load url from future %} {% block object-tools %}
{% block object-tools-items %} {{block.super}} {% for method_name, label, icon, perm in adminform.model_admin.extra_detail_buttons %} {% has_permission perm as authorized %} {% if authorized %} {%nlless%} {% if icon %} {% endif %} {{ label }} {% endnlless %} {% endif %} {% endfor %} {% endblock %}
{% endblock %}