X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/b94b945fb03e21a1997cfe6e50148967586cb26d..refs/pull/2511/head:/resources/views/chapters/show.blade.php diff --git a/resources/views/chapters/show.blade.php b/resources/views/chapters/show.blade.php index 105cda760..db02ebcc4 100644 --- a/resources/views/chapters/show.blade.php +++ b/resources/views/chapters/show.blade.php @@ -1,9 +1,9 @@ @extends('tri-layout') @section('container-attrs') - id="entity-dashboard" - entity-id="{{ $chapter->id }}" - entity-type="chapter" + component="entity-search" + option:entity-search:entity-id="{{ $chapter->id }}" + option:entity-search:entity-type="chapter" @stop @section('body') @@ -16,17 +16,17 @@
-

{{ $chapter->name }}

-
-

{!! nl2br(e($chapter->description)) !!}

+

{{ $chapter->name }}

+
+

{!! nl2br(e($chapter->description)) !!}

@if(count($pages) > 0) -
+
@foreach($pages as $page) @include('pages.list-item', ['page' => $page]) @endforeach
@else -
+

{{ trans('entities.chapters_empty') }}

@@ -49,7 +49,7 @@ @endif
- @include('partials.entity-dashboard-search-results') + @include('partials.entity-search-results')
@stop @@ -130,7 +130,7 @@ @section('left') - @include('partials.entity-dashboard-search-box') + @include('partials.entity-search-form', ['label' => trans('entities.chapters_search_this')]) @if($chapter->tags->count() > 0)