@extends('layouts.student') @section('title', 'Review & finish') @section('content')
@php $reviewConfig = [ 'remainingSeconds' => $timing['remainingSeconds'], 'urls' => [ 'time' => route('student.attempts.time', $attempt), 'result' => route('student.attempts.result', $attempt), ], ]; @endphp| # | Question | Type | Points | Status | |
|---|---|---|---|---|---|
| {{ $question['number'] }} | {{ $question['text'] }} | {{ $question['typeLabel'] }} | {{ $question['points'] }} | @php // Skipped is an answer, so it is never "Unanswered"; // it is named separately so the student can see what // they reported as not found. No correctness here. $state = $question['skipped'] ? ['Skipped', 'text-bg-warning'] : ($question['answered'] ? ['Answered', 'text-bg-success'] : ['Unanswered', 'text-bg-secondary']); @endphp {{ $state[0] }} | Go to question |