{% load i18n common admin_workbook %}{% comment %} A delete button that posts to ``action`` after the person confirms. Give it ``thing`` to say what goes, ``kind`` to say what it is when its model's name does not (a page of the sitemap is a SitemapNode, a "folder"), ``button_label`` for the button and ``redirect`` for where to go after. Without scripts it deletes at once. {% endcomment %}{% with what=thing|default:obj %}{% firstof kind model|type as type %}
{% csrf_token %}
{% endwith %}