dialog_delete_rsc
Open a dialog to confirm the deletion of a resource.
Arguments:
idis the resource to delete.on_successcan be repeated and is forwarded to the actual deletion action.
The dialog is only opened when the current user may delete the resource. Its
body is selected with the category-aware _action_dialog_delete_rsc.tpl.
{% button text="Delete" action={dialog_delete_rsc id=id on_success={redirect back}} %}