@extends('layouts.cp') @section('title', 'CP Menu Management') @section('content') {{-- Single Add --}}

Add CP Menu

Manage and rearrange the control panel sidebar dynamically.

@csrf
{{-- Bulk Add --}}

Bulk Add

Add multiple CP menus at once.

@csrf
Name Slug / Route Parent Order
{{-- Menu List with drag & drop --}}

Menu Order

Drag rows to reorder. Changes save automatically.

@if($menus->isEmpty())

No CP menus yet.

@else @foreach($menus as $menu) @endforeach
Name Slug Visibility
@if($menu->level > 1) @endif {{ $menu->name }} {{ $menu->slug ?? '—' }} {{ $menu->is_active ? 'Show' : 'Hide' }}
@csrf @method('PATCH')
@csrf @method('DELETE')
@endif
{{-- Edit Menu Modal --}} @endsection