Nominations
@foreach($ensembles as $ensemble)
{{ $ensemble->name }}
{{ $ensemble->data['max_nominations'] }} nominations accepted
Entry Deadline {{ \Carbon\Carbon::parse($ensemble->entry_deadline)->format('M j, Y') }}
Existing Nominations
Student
Grade
Instrument
@if($past_deadline[$ensemble->id])
Split
Seat
@endif
@foreach($existingNominations[$ensemble->id] as $nom)
{{ $nom->student->full_name() }}
{{ $nom->student->grade }}
{{ $nom->data['instrument'] }}
@if(!$past_deadline[$ensemble->id])
Confirm you wish to delete the nomination
of {{ $nom->student->full_name() }}
for the {{ $ensemble->name }} ensemble.
@else
{{ $nom->data['split'] ?? '' }}
{{ $nom->data['seat'] ?? '' }}
@endif
@endforeach
@if($nominationsAvailable[$ensemble->id] && !$past_deadline[$ensemble->id])
New Entry
@foreach($availableStudents[$ensemble->id] as $student)
@endforeach
@foreach($availableInstruments[$ensemble->id] as $instrument)
@endforeach
Add Nomination
@endif
@endforeach