@extends('layouts.tri') @section('container-attrs') component="entity-search" option:entity-search:entity-id="{{ $chapter->id }}" option:entity-search:entity-type="chapter" @stop @push('social-meta') @endpush @include('entities.body-tag-classes', ['entity' => $chapter]) @section('body')

{{ $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') }}

@endif
@include('entities.search-results')
@include('entities.sibling-navigation', ['next' => $next, 'previous' => $previous]) @stop @section('right')
{{ trans('common.details') }}
{{ trans('common.actions') }}
@stop @section('left') @include('entities.search-form', ['label' => trans('entities.chapters_search_this')]) @if($chapter->tags->count() > 0)
@include('entities.tag-list', ['entity' => $chapter])
@endif @include('entities.book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree]) @stop