1 <div class="chapter-child-menu">
2 <p chapter-toggle class="text-muted @if($bookChild->matchesOrContains($current)) open @endif">
3 @icon('caret-right') @icon('page') <span>{{ trans_choice('entities.x_pages', $bookChild->pages->count()) }}</span>
5 <ul class="sub-menu inset-list @if($bookChild->matchesOrContains($current)) open @endif">
6 @foreach($bookChild->pages as $childPage)
7 <li class="list-item-page {{ $childPage->isA('page') && $childPage->draft ? 'draft' : '' }}">
8 @include('partials.entity-list-item-basic', ['entity' => $childPage, 'classes' => $current->matches($childPage)? 'selected' : '' ])