]> BookStack Code Mirror - bookstack/blob - resources/views/settings/recycle-bin/deletable-entity-list.blade.php
Merge branch 'master' of git://github.com/rondaa/BookStack into rondaa-master
[bookstack] / resources / views / settings / recycle-bin / deletable-entity-list.blade.php
1 @include('partials.entity-display-item', ['entity' => $entity])
2 @if($entity->isA('book'))
3     @foreach($entity->chapters()->withTrashed()->get() as $chapter)
4         @include('partials.entity-display-item', ['entity' => $chapter])
5     @endforeach
6 @endif
7 @if($entity->isA('book') || $entity->isA('chapter'))
8     @foreach($entity->pages()->withTrashed()->get() as $page)
9         @include('partials.entity-display-item', ['entity' => $page])
10     @endforeach
11 @endif