BookStack/resources/views/entities/list-basic.blade.php

11 lines
355 B
PHP
Raw Normal View History

<div class="entity-list {{ $style ?? '' }}">
@if(count($entities) > 0)
@foreach($entities as $index => $entity)
@include('entities.list-item-basic', ['entity' => $entity])
@endforeach
@else
<p class="text-muted empty-text">
{{ $emptyText ?? trans('common.no_items') }}
</p>
@endif
</div>