dialog_config_delete

Open a dialog that asks confirmation to delete a configuration key/value pair.

Arguments:

  • module and key identify the configuration entry.
  • on_success can be repeated and is forwarded to the confirmed deletion.

The dialog is only shown to an editable administrator.

{% button text="Delete" action={dialog_config_delete module=module key=key on_success={reload}} %}

Edit on GitHub

Referred by

Category

Actions

Browser actions that templates attach to events with Zotonic's wiring system.