@extends('base') @section('content')
{{ $chapter->description }}
@if(count($pages) > 0)No pages are currently in this chapter.
@if(userCan('page-create', $chapter)) Create a new page @endif @if(userCan('page-create', $chapter) && userCan('book-update', $book)) -or- @endif @if(userCan('book-update', $book)) Sort the current book @endif
Created {{$chapter->created_at->diffForHumans()}} @if($chapter->createdBy) by {{$chapter->createdBy->name}} @endif
Last Updated {{$chapter->updated_at->diffForHumans()}} @if($chapter->updatedBy) by {{$chapter->updatedBy->name}} @endif