@extends('layouts.app') @section('content')
Submitted Answers — {{ $assignment->title }}
@if ($assignment->answers->count())
@foreach ($assignment->answers as $index => $answer) @endforeach
# Student Status Answer Text Files Action
{{ $index + 1 }} {{ $answer->student->first_name }} {{ $answer->student->last_name }} @if ($answer->graded_at) Graded ({{ $answer->grade }}/100) @else Not Graded @endif @if ($answer->text) {{ $answer->text }} @else @endif @if ($answer->answerAttachments->count())
    @foreach ($answer->answerAttachments as $att)
  • View,
  • @endforeach
@else No files @endif
@if (!$answer->graded_at) Grade @else Done @endif
@else

No students have submitted this assignment yet.

@endif
@endsection