@icon($type){{ $model->name }}
@if($model->attachments ?? [])
@icon('attach'){{ count($model->attachments) }}
@endif
@if($model->images ?? [])
@icon('image'){{ count($model->images) }}
@endif
@if($model->tags ?? [])
@icon('tag'){{ count($model->tags) }}
@endif
@foreach($model->chapters ?? [] as $chapter)
@include('exports.parts.import-item', ['type' => 'chapter', 'model' => $chapter])
@endforeach
@foreach($model->pages ?? [] as $page)
@include('exports.parts.import-item', ['type' => 'page', 'model' => $page])
@endforeach