{{$shelf->name}}
{!! nl2br(e($shelf->description)) !!}
@if(count($shelf->visibleBooks) > 0) @if($view === 'list')
@foreach($shelf->visibleBooks as $book)
@include('books.list-item', ['book' => $book])
@endforeach
@else
@foreach($shelf->visibleBooks as $key => $book)
@include('partials.entity-grid-item', ['entity' => $book])
@endforeach
@endif
@else
{{ trans('entities.shelves_empty_contents') }}
@if(userCan('book-create-all') && userCan('bookshelf-update', $shelf))
@icon('add')
{{ trans('entities.books_create') }}
@endif
@if(userCan('bookshelf-update', $shelf))
@icon('edit')
{{ trans('entities.shelves_edit_and_assign') }}
@endif