@extends('backend.template') @section('content')
@csrf

{{ label('Edit Menu Item') }}

{{createCustomSelect('tbl_menulocations', 'title', 'menulocation_id', $data->menulocations_id, 'Menu Location','menulocations_id', 'form-control select2','status<>-1')}}
{{createCustomSelect('tbl_menuitems', 'title', 'menu_id', $data->parent_menu, 'Sub Menu of (Ignore if it is going as root)','parent_menu', 'form-control select2','status<>-1')}}
{{createCustomSelectFromArray($menuTypes,"Menu Type","type",$data->type,"REQUIRED")}}
{{createText("ref","ref","# or Start from / or http:// or https://",'',$data->ref)}}
{{createText("title","title","Display Title",'',$data->title)}}
{{createCustomSelectFromArray(array(['display'=>'Self','value'=>"_SELF"],['display'=>'New Tab','value'=>"_BLANK"]),"Target","target",$data->target)}}
@endsection @push("js") @endpush