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

{{ $book->name }}

By: {{ $book->authors->pluck('name')->join(', ') }}

@if ($thumbnail = $book->attachment('thumbnail'))
Image

@endif
Location

{{ $book->location->name }}

@if (!empty($book->description))
Description

{{ $book->description }}

@endif @endsection