{{ html()->label('Title')->class('form-label') }} {{ html()->span('*')->class('text-danger') }} {{ html()->text('title')->class('form-control')->placeholder('Menu Title')->required() }} {{ html()->div('Menu title is required')->class('invalid-feedback') }}
{{ html()->label('Location')->class('form-label') }} {{ html()->span('*')->class('text-danger') }} {{ html()->select('menu_location_id', config('constants.menu_location_options'))->class('form-select choices-select ')->required(true) }}
{{ html()->label('Type')->class('form-label') }} {{ html()->span('*')->class('text-danger') }} {{ html()->select('type', $menuTypes)->id('menuType')->class('form-select choices-select')->required(true) }}
{{ html()->label('Sub menu of (Empty if Parent Menu)')->class('form-label') }} {{ html()->select('parent_id', $menuOptions)->class('form-select choices-select')->placeholder('Select Parent') }}
{{ html()->label('#(Fragment) or Start from /(Custom)')->class('form-label') }} {{ html()->span('*')->class('text-danger') }} {{ html()->text('parameter')->id('parameterInput')->class('form-control') }} {{ html()->div('Link is required')->class('invalid-feedback') }}
Icon
{{ html()->label('Image')->class('form-label mb-1')->for('image') }}
{{ html()->label('Icon (Optional)')->class('form-label') }} {{ html()->text('icon')->class('form-control')->placeholder('Icon class') }}
Publish
{{ html()->select('status', config('constants.page_status_options'))->class('form-select choices-select ') }}
@push('js') @endpush