@extends('sidebar-layout') @section('toolbar')
@include('pages._breadcrumbs', ['page' => $page])
@icon('export'){{ trans('entities.export') }}
@if(userCan('page-update', $page)) @icon('edit'){{ trans('common.edit') }} @endif @if((userCan('page-view', $page) && userCanCreatePage()) || userCan('page-update', $page) || userCan('restrictions-manage', $page) || userCan('page-delete', $page)) @endif
@stop @section('sidebar') @if($page->tags->count() > 0)
@include('components.tag-list', ['entity' => $page])
@endif @if ($page->attachments->count() > 0)

@icon('attach') {{ trans('entities.pages_attachments') }}

@foreach($page->attachments as $attachment) @endforeach
@endif @if (isset($pageNav) && count($pageNav))

@icon('open-book') {{ trans('entities.pages_navigation') }}

@endif

@icon('info') {{ trans('common.details') }}

@include('partials/book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree]) @stop @section('body-wrap-classes', 'flex-fill columns') @section('body')
@icon('link') @icon('include', ['style' => 'display:none;']) @if(userCan('page-update', $page)) @icon('edit') @endif
@include('pages/page-display')
@if ($commentsEnabled)
@include('comments/comments', ['page' => $page])
@endif @stop