diff --git a/resources/views/books/index.blade.php b/resources/views/books/index.blade.php index de13ab5cd..c5dd38a87 100644 --- a/resources/views/books/index.blade.php +++ b/resources/views/books/index.blade.php @@ -22,16 +22,19 @@

{{ trans('entities.books') }}

- {!! $books->render() !!} @if(count($books) > 0) @if($books_display=='grid') @foreach($books as $book) @include('books/grid-item', ['book' => $book]) @endforeach +
+ {!! $books->render() !!} +
@else - @foreach($books as $book) + @foreach($books as $book) @include('books/list-item', ['book' => $book]) @endforeach + {!! $books->render() !!} @endif @else

{{ trans('entities.books_empty') }}

@@ -58,7 +61,6 @@ @endif
- {!! $books->render() !!}