{{ $shelf->name }}
                @include('entities.sort', ['options' => [
                    'default' => trans('common.sort_default'),
                    'name' => trans('common.sort_name'),
                    'created_at' => trans('common.sort_created_at'),
                    'updated_at' => trans('common.sort_updated_at'),
                ], 'order' => $order, 'sort' => $sort, 'type' => 'shelf_books'])
            
        {!! nl2br(e($shelf->description)) !!}
@if(count($sortedVisibleShelfBooks) > 0) @if($view === 'list')
                        @foreach($sortedVisibleShelfBooks as $book)
                            @include('books.parts.list-item', ['book' => $book])
                        @endforeach
                    
                @else
                    
                        @foreach($sortedVisibleShelfBooks as $book)
                            @include('entities.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