@if($menu->refid === 0) {{ $no ?? '-' }} @endif {{ $menu->parent->caption ?? '-' }} @if($menu->icon) @else - @endif {{ $menu->caption }} {{ $menu->target_url . $menu->target_slug }} {{ $menu->status->name }}
@if(canUpdate($menuId)) @endif @if(canDelete($menuId))
@csrf @method('delete')
@endif
@if($menu->children->count()) @foreach($menu->children as $child) @include('website-menu::_index_sub_content', [ 'menu' => $child, 'level' => ($level ?? 0) + 1, 'no' => $no ]) @endforeach @endif