@extends('layout.layout') @php $title = 'Tabs'; $subTitle = 'Navigation'; $parentFilterOptions = $parentTabs->mapWithKeys(fn($parent) => [$parent->id => $parent->label])->toArray(); $systemFilterOptions = $allSystems->mapWithKeys(fn($system) => [$system => strtoupper($system)])->toArray(); $typeFilterOptions = [ 'link' => 'Link (With URL)', 'group' => 'Group (No URL)', ]; @endphp @section('content') @include('components.alert')
{{-- --}} Export CSV
Filters
@foreach ($tabs as $tab) {{ $tab->id }} @if ($tab->url) {{ $tab->label }} @else {{ $tab->label }} @endif {{ $tab->parent->label ?? '—' }}
@forelse ($tab->systems ?? [] as $system) {{ strtoupper($system) }} @empty No systems @endforelse
{{ $tab->order }}
@endforeach
@include('dashboard.tabs.create') @foreach ($tabs as $tab) @include('dashboard.tabs.edit', ['tab' => $tab, 'tabs' => $tabs]) @endforeach
@endsection @push('styles') @endpush @push('scripts') @endpush