id}/switch-book-view") }}" method="POST" class="inline"> {!! csrf_field() !!} {!! method_field('PATCH') !!} @if ($view === 'list') @icon('grid') {{ trans('common.grid_view') }} @else @icon('list') {{ trans('common.list_view') }} @endif