BookStack/resources/views/partials/entity-list-basic.blade.php
2019-02-24 15:57:35 +00:00

11 lines
362 B
PHP

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