@php($n=1) Nomination Entries @foreach($ensembles as $ensemble) {{ $ensemble->name }} {{ $ensemble->data['max_nominations'] }} nominations accepted Rank Student Instrument {{-- List existing nominations--}} @foreach($nominatedStudents[$ensemble->id] as $nomination) {{ $nomination->data['rank'] }} {{ $nomination->student->full_name() }} {{ $nomination->data['instrument'] }} Confirm you wish to delete the nomination of {{ $nomination->student->full_name() }}
for the {{ $ensemble->name }} ensemble.
@csrf
@csrf
@endforeach {{-- LINE TO ADD A NOMINATION--}} @if($nominationsAvailable[$ensemble->id] && $availableStudents[$ensemble->id]->count() > 0) NEW @foreach($availableStudents[$ensemble->id] as $student) @endforeach @foreach($availableInstruments[$ensemble->id] as $instrument) @endforeach Add @endif
@endforeach