@extends('admin.layouts.form')
@section('title', admin_trans('Navbar Menu'))
@section('container', 'container-max-lg')
@section('link', route('admin.navbar-menu.create'))
@if ($navbarMenuLinks->count() == 0)
@section('btn_action', 'disabled')
@endif
@section('content')
@if ($navbarMenuLinks->count() > 0)
@foreach ($navbarMenuLinks as $navbarMenuLink)
-
{{ $navbarMenuLink->name }}
@if (count($navbarMenuLink->children))
@foreach ($navbarMenuLink->children as $child)
-
@endforeach
@endif
@endforeach
@else
@include('admin.partials.empty', ['size' => 180])
@endif
@if ($navbarMenuLinks->count() > 0)
@push('styles_libs')
@endpush
@push('scripts_libs')
@endpush
@endif
@endsection