@extends('base') @section('content')
{{$book->description}}
{{$childElement->getExcerpt()}}
@if($childElement->isA('chapter') && count($childElement->pages) > 0)No pages or chapters have been created for this book.
Create a new page -or- Add a chapter
Created {{$book->created_at->diffForHumans()}} @if($book->createdBy) by {{$book->createdBy->name}} @endif
Last Updated {{$book->updated_at->diffForHumans()}} @if($book->createdBy) by {{$book->updatedBy->name}} @endif