<ul class="builder-menu builder-submenu" data-control="list-sortable">
    <?php if ($items): ?>
        <?php foreach ($items as $item): ?>
            <?= $this->makePartial('submenuitem', ['item' => $item]) ?>
        <?php endforeach ?>
    <?php endif ?>

    <li class="add">
        <a href="javascript:;"
            data-hotkey="ctrl+i, cmd+i"
            data-builder-command="menus:cmdAddSideMenuItem"
        >
            <i class="icon-plus-circle"></i>
            <span class="title"><?= e(trans('rainlab.builder::lang.menu.add_side_menu_item')) ?></span>
        </a>
    </li>
</ul>