{{ $chapter->name }}
{!! nl2br(e($chapter->description)) !!}
@if(count($pages) > 0)
@foreach($pages as $page)
@include('pages.parts.list-item', ['page' => $page])
@endforeach
@else
{{ trans('entities.chapters_empty') }}
@if(userCan('page-create', $chapter))
@icon('page')
{{ trans('entities.books_empty_create_page') }}
@endif
@if(userCan('book-update', $book))
@icon('book')
{{ trans('entities.books_empty_sort_current_book') }}
@endif