@if(count($entities) > 0) @foreach($entities as $index => $entity) @include('entities.list-item-basic', ['entity' => $entity]) @endforeach @else

{{ $emptyText ?? trans('common.no_items') }}

@endif