@if(!empty($localAssets)) @else @endif
{{ $questionNumber }}. {!! nl2br(e(preg_replace('/[\s\x{00A0}]+$/u', '', $question->question_text))) !!}
@if($question->question_type === 'multiple_choice' && $question->options) @foreach($question->options as $key => $optionText)({{ $key }}) {{ $optionText }}@if($showAnswers && $question->correct_answer === $key) ✓@endif
@endforeach @elseif($question->question_type === 'true_false')○ 對
✕ 錯
@else @if(!$showAnswers) @for($i = 0; $i < ($question->question_type === 'essay' ? 5 : 2); $i++) @endfor @endif @endif @if($showAnswers)正確答案:{{ $question->correct_answer }}
@endif @if($question->ai_explanation) @endif| {{ $loop->parent->index * 5 + $loop->index + 1 }} | @endforeach @for($i = $chunk->count(); $i < 5; $i++)@endfor |