<div class="col-md-12">
    <div class="form-group">
        <label class="form-label">
            Page
            {if isset($tooltips.menu.menu_items.page)}
                {include file="adminarea/includes/helpers/tooltip.tpl" tooltip=$tooltips.menu.menu_items.page}
            {/if}
        </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}{elseif isset($settings['pageslug'])}{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}