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

{{ $book->name }}

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

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

@endif
Location:

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

@endsection