Add category

Book categories

{{ $categories->total() }} {{ \Illuminate\Support\Str::plural('category', $categories->total()) }} found

@if ($search) Clear @endif
@if ($categories->isEmpty()) @if ($search) Clear search @else Add category @endif @else
@foreach ($categories as $category) @endforeach
Category Books Created Actions

{{ $category->name }}

{{ $category->description }}

{{ $category->books_count }} {{ \Illuminate\Support\Str::plural('book', $category->books_count) }} {{ $category->created_at?->format('d M Y') ?? '—' }}
Edit @if ($category->books_count > 0) Delete @else
@csrf @method('DELETE')
@endif
@endif