@extends('layouts.app') @section('content')

{{ $category->name }}

Category Details

Name: {{ $category->name }}

Description:

{{ $category->description }}

Edit
@csrf @method('DELETE')

Books in this Category

@if($category->books->count() > 0)
@foreach($category->books as $book)

{{ $book->title }}

By {{ $book->author }}

{{ Str::limit($book->description, 100) }}

View Details →
@endforeach
@else

No books found in this category.

@endif
Back to Categories
@endsection