@forelse($quiz->questions as $index => $question)
سوال شماره {{ $index + 1 }}
@if($question->subject)
{{ $question->subject->title }}
@endif
{{ $question->type === 'multiple_choice' ? 'تستی' : 'تشریحی' }}
{{ $question->question_text }}
@if($question->type === 'multiple_choice')
@foreach($question->options as $optIndex => $option)
{{ $optIndex + 1 }}) {{ $option->option_text }}
@endforeach
@endif
@if($question->solution_explanation)
پاسخ تشریحی / مستند قانون: {{ $question->solution_explanation }}
@endif
@empty
هنوز سوالی برای این آزمون ثبت نشده است.
@endforelse