{% comment %} One actions_list / actions_detail button. method "post" (the default): a POST form with the CSRF token, the confirm text asked on submit; the URL answers 405 to GET. method "get": a link to a page that renders its own form. object-tools sits outside the change form, so no nesting. {% endcomment %}{% if action.method == "get" %}{% if action.icon %} {% endif %}{{ action.title }}{% else %}
{% csrf_token %}
{% endif %}