{{-- Toolbar --}}
{{-- Pagination Info --}}
Showing {{ $categories->firstItem() ?? 0 }} - {{ $categories->lastItem() ?? 0 }} of {{ $categories->total() }}
{{-- Table --}}
@forelse($categories as $cat) @empty @endforelse
Category Name Slug Courses Status Actions
@if ($cat->cover_image) img @else @endif
{{ $cat->name }} @if ($cat->parent) Child of: {{ $cat->parent->name }} @endif
{{ $cat->slug }} {{ $cat->courses_count }} Courses @if ($cat->is_active) Active @else Inactive @endif

No categories found.

{{-- Footer --}}
{{-- Left: Showing Count --}}
Showing {{ $categories->firstItem() ?? 0 }} to {{ $categories->lastItem() ?? 0 }} of {{ $categories->total() }} results
{{-- Right: Pagination --}}
@if ($categories->hasPages()) @endif