@extends('sidebar-layout') @section('toolbar')
@if(userCan('restrictions-manage', $book)) @icon('lock'){{ trans('entities.books_permissions_active') }} @else @icon('lock'){{ trans('entities.books_permissions_active') }} @endif
@endif @if($chapter->restricted)@if(userCan('restrictions-manage', $chapter)) @icon('lock'){{ trans('entities.chapters_permissions_active') }} @else @icon('lock'){{ trans('entities.chapters_permissions_active') }} @endif
@endif{!! nl2br(e($chapter->description)) !!}
@if(count($pages) > 0){{ trans('entities.chapters_empty') }}
@if(userCan('page-create', $chapter)) @icon('page'){{ trans('entities.books_empty_create_page') }} @endif @if(userCan('page-create', $chapter) && userCan('book-update', $book)) -{{ trans('entities.books_empty_or') }}- @endif @if(userCan('book-update', $book)) @icon('book'){{ trans('entities.books_empty_sort_current_book') }} @endif