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

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

@endif