{% extends "admin/change_form_object_tools.html" %} {% load i18n admin_urls %} {% block object-tools-items %}
  • {% url opts|admin_urlname:'preview' original.pk|admin_urlquote as preview_url %} {% translate "Preview" %}
  • {# this is the only reason for overriding this template -> blank item for now to separate - FIXME: fix CSS in surface-theme to handle multiple buttons correctly #}
  • {{ block.super }} {% endblock %}