{foreach $actions as $id => $a}
{if empty($a.internal)}
{if empty($a.original)}
[`edit`]
{elseif $id == 'message'}
[`edit`]
{/if}
{/if}
{/foreach}
{*
* Form to create new or modify existing custom action.
*}
[`Set order state`]
{if !empty($states)}
{/if}
[`Appearance`]
{foreach $action_icons as $icon}
-
{/foreach}
{*
* Form to edit settings of a built-in 'message' action.
*}
{if !empty($actions.message)}
{include file="./SettingsOrderStatesActionTemplateHelp.html" inline}
{/if}