BookStackApp/BookStack

View on GitHub
resources/views/exports/parts/chapter-item.blade.php

Summary

Maintainability
A
0 mins
Test Coverage
<div class="page-break"></div>
<h1 id="chapter-{{$chapter->id}}">{{ $chapter->name }}</h1>

<div>{!! $chapter->descriptionHtml() !!}</div>

@if(count($chapter->visible_pages) > 0)
    @foreach($chapter->visible_pages as $page)
        @include('exports.parts.page-item', ['page' => $page, 'chapter' => $chapter])
    @endforeach
@endif