<div class="col-md-12">
    <div class="form-group">
        <label class="form-label">
            Page
            {include file="adminarea/includes/helpers/tooltip.tpl" tooltip=$tooltips.menu.menu_items.page}
        </label>
        <select class="form-control opacity-1" name="items[{$parent}][{$index}][settings][pageslug]">
            {foreach $pages as $key => $page}
                <option value="{$page['slug']}" {if isset($settings['page'])}{if $settings['page'] == $page['id']} selected {/if}{else}{if $settings['pageslug'] == $page['slug']} selected {/if}{/if}>{$page['label']}</option>
            {/foreach}
        </select>
    </div>
</div>
{include file="adminarea/menu/includes/components/name.tpl" type=$type}
{include file="adminarea/menu/includes/components/icon.tpl" type=false}