@extends('admin.layouts.app') @section('container', 'dashboard-container-md') @section('section', d_trans('Business')) @section('title', d_trans('Business Footer Links')) @section('header_title', d_trans('Business Footer Links')) @section('create', route('admin.business.footer-links.create')) @section('content')
@if ($footerLinks->count() > 0)
    @foreach ($footerLinks as $footerLink)
  1. {{ $footerLink->name }}
    @method('DELETE') @csrf
    @if ($footerLink->children->count() > 0)
      @foreach ($footerLink->children as $child)
    1. {{ $child->name }}
      @method('DELETE') @csrf
    2. @endforeach
    @endif
  2. @endforeach
@else
@include('admin.partials.empty', ['empty_classes' => 'empty-lg'])
@endif
@if ($footerLinks->count() > 0) @push('top_scripts') @endpush @push('scripts_libs') @endpush @endif @endsection