18 lines
630 B
PHP
18 lines
630 B
PHP
@foreach($ensembleLimits as $ensembleLimit)
|
|
<x-card.card class="mb-3">
|
|
<x-card.heading>{{ $ensembleLimit->ensemble->name }}</x-card.heading>
|
|
<x-card.list.body>
|
|
@for($n=1; $n <= $ensembleLimit->maximum_accepted; $n++)
|
|
@php
|
|
$entry = $seatableEntries->shift();
|
|
if (is_null($entry)) continue;
|
|
@endphp
|
|
|
|
<x-card.list.row class="!py-2">
|
|
{{ $n }} - {{ $entry->student->full_name() }}
|
|
</x-card.list.row>
|
|
@endfor
|
|
</x-card.list.body>
|
|
</x-card.card>
|
|
@endforeach
|