{{ $index + 1 }}. {{ cleanLatex($question->text_content) }}
@if($question->image_path && Storage::disk('public')->exists($question->image_path))
 }})
@if($question->type === 'drag_drop')
@foreach($question->answers as $aIndex => $answer)
{{ $aIndex + 1 }}
@endforeach
@endif
@endif
@if($question->type === 'statement_evaluation' && $question->statements)
@foreach($question->statements as $sIndex => $statement)
{{ chr(65 + $sIndex) }}. {{ cleanLatex($statement) }}
@endforeach
@endif
@if($question->type !== 'drag_drop')
@foreach($question->answers as $aIndex => $answer)
({{ $aIndex + 1 }}). {{ cleanLatex($answer->content) }}
@endforeach
@elseif($question->type === 'drag_drop')
Labels to place:
@foreach($question->answers->shuffle() as $answer)
{{ cleanLatex($answer->content) }}
@endforeach
@endif
@endforeach
{{ $index + 1 }}. {{ cleanLatex($question->text_content) }}
@if($question->type !== 'drag_drop')
Correct Answer(s):
@foreach($question->answers as $aIndex => $answer)
@if($answer->is_correct)
({{ $aIndex + 1 }}). {{ cleanLatex($answer->content) }}
@endif
@endforeach
@if($question->definition)
Explanation: {{ cleanLatex($question->definition) }}
@endif
@else
Drag & Drop Labels:
@foreach($question->answers as $aIndex => $answer)
Marker {{ $aIndex + 1 }}: {{ cleanLatex($answer->content) }}
@endforeach
@endif
@endforeach