{i18n arg_statename=$context->oState->getName()}Manage Permissions: #statename#{/i18n}

{if empty($perm_grid)}
{i18n}No permissions are controlled by this state. Indicate below which permissions are controlled to allocate them.{/i18n}
{else}

{i18n}Once you've selected the permissions you want to control for this workflow state, you should allocate these to the appropriate groups and roles.{/i18n}

{i18n}Allocate permissions{/i18n} {i18n}Allocate permissions{/i18n} {/if}

{i18n}Specify permissions{/i18n}

{capture assign=permgrid}

{i18n}Select the permissions you want controlled by this state.{/i18n}

{foreach from=$perms item=oPerm} {/foreach} {foreach from=$perms item=oPerm} {assign value=$oPerm->getId() var=perm_id} {/foreach}
{i18n}{$oPerm->getHumanName()}{/i18n}
{/capture} {$form->renderContaining($permgrid, $form->renderButtons())}