@extends('tri-layout') @section('body') @include('books.list', ['books' => $books, 'view' => $view]) @stop @section('left') @include('common.home-sidebar') @stop @section('right')
{{ trans('common.actions') }}
@if(user()->can('book-create-all')) @icon('add') {{ trans('entities.books_create') }} @endif @include('partials.view-toggle', ['view' => $view, 'type' => 'books']) @include('components.expand-toggle', ['classes' => 'text-primary', 'target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details']) @include('partials.dark-mode-toggle', ['classes' => 'icon-list-item text-primary'])
@stop