@extends('admin.layouts.app') @section('title', 'Edit Menu Item') @section('content')
@csrf @method('PUT')
@error('title')
{{ $message }}
@enderror
@error('icon')
{{ $message }}
@enderror Use Bootstrap Icons classes (e.g., bi bi-house)
@error('parent_id')
{{ $message }}
@enderror
@error('sort_order')
{{ $message }}
@enderror
route_name ? 'route' : 'url') == 'route' ? 'checked' : '' }}>
route_name ? 'route' : 'url') == 'url' ? 'checked' : '' }}>
@error('route_name')
{{ $message }}
@enderror
@error('url')
{{ $message }}
@enderror
@error('target')
{{ $message }}
@enderror
is_active) ? 'checked' : '' }}>
is_external) ? 'checked' : '' }}>
Check if this is an external link (will not use Laravel routing)
@error('description')
{{ $message }}
@enderror
Menu Information
@if($menu->children->count() > 0) @endif
ID: {{ $menu->id }}
Created: {{ $menu->created_at->format('M d, Y H:i') }}
Updated: {{ $menu->updated_at->format('M d, Y H:i') }}
Children: {{ $menu->children->count() }} item(s)
Help & Tips
Icon Guidelines:
  • Use Bootstrap Icons classes (e.g., bi bi-house)
  • Visit Bootstrap Icons for available icons
Route vs URL:
  • Route: Use for internal Laravel routes
  • URL: Use for external links or custom URLs
@if($menu->children->count() > 0)
Note: This menu has {{ $menu->children->count() }} child item(s). Changing the parent will affect the menu structure.
@endif
@push('scripts') @endpush @endsection