{* * Sidebar *}
{if !$info.original} {/if}

{$info.name|escape}

[`Order state name`]
{if !$info.original}
[`State ID`]
{if $info.id != 'new_state'} {$info.id|escape} {else} {/if}
{/if}
[`Appearance`]
#

[`Icon`]
{if $info['payment_allowed']!==null} {$_hidden = $info['payment_allowed']}
[`Payment option availability`]

{sprintf('[`Show this message on checkout completion and in customers’ personal accounts if setting “%s” is disabled.`]', '[`customers can pay for orders in this state`]')}

{/if}
[`Allowed actions`]
{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. *} {* * Form to edit settings of a built-in 'message' action. *} {if !empty($actions.message)} {/if}
{$wa->csrf()}