{{-- Assignment rows shared by the assignment list, the student page and the exam page. --}}
@if ($showStudent ?? true) @endif @if ($showExam ?? true) @endif @forelse ($assignments as $assignment) @if ($showStudent ?? true) @endif @if ($showExam ?? true) @endif @empty @endforelse
Student Student IDExamStatus Assigned Due Attempts Created by Actions
{{ $assignment->student?->name }} @if ($assignment->student && ! $assignment->student->isActive()) Inactive @endif {{ $assignment->student?->student_id }} {{ $assignment->exam?->name }} @if ($assignment->exam && ! $assignment->exam->isPublished()) @endif {{ $assignment->assigned_at?->format('d M Y H:i') }} {{ $assignment->due_at?->format('d M Y H:i') ?? '—' }} {{ $assignment->attempts_allowed }} {{ $assignment->creator?->name ?? 'System' }} @can('cancel', $assignment)
@csrf
@endcan