@extends('base') @section('content')

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

@if(count($pages) > 0) {{ trans('entities.search_view_pages') }} @endif @if(count($chapters) > 0)      {{ trans('entities.search_view_chapters') }} @endif @if(count($books) > 0)      {{ trans('entities.search_view_books') }} @endif

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

@include('partials/entity-list', ['entities' => $pages, 'style' => 'detailed'])
@if(count($books) > 0)

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

@include('partials/entity-list', ['entities' => $books]) @endif @if(count($chapters) > 0)

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

@include('partials/entity-list', ['entities' => $chapters]) @endif
@stop