BookStackApp/BookStack

View on GitHub
resources/views/entities/list-basic.blade.php

Summary

Maintainability
A
0 mins
Test Coverage
<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>