$actions
*/
?>
foreach ($actions as $action): ?>
if ($action['disabled']): ?>
elseif ($action['type'] === 'link'): ?>
$action['label']]) ?>>
if ($action['icon']): ?>
= $action['icon']->asImg(['class' => 'action-menu-item-icon']) ?>
else: ?>
= htmlReady($action['label']) ?>
endif ?>
elseif ($action['type'] === 'button'): ?>
if ($action['icon']): ?>
= $action['icon']->asInput($action['attributes'] + [
'class' => 'action-menu-item-icon',
'name' => $action['name'],
'title' => $action['label'],
]) ?>
else: ?>
endif ?>
elseif ($action['type'] === 'multi-person-search'): ?>
= $action['object']->render(false) ?>
elseif ($action['type'] === 'separator'): ?>
|
endif ?>
endforeach ?>