Вопрос #{{ $question->id }}
Информация
| Тип: | {{ $question->type }} |
|---|---|
| Вопрос: | {{ $question->question_text }} |
| Пояснение: | {{ $question->explanation ?? '—' }} |
| Баллы: | {{ $question->score }} |
| Порядок: | {{ $question->sort_order }} |
| Обязательный: | @if($question->is_required)Да@elseНет@endif |
@if($question->type === 'matching')
Пары
@if($question->matchingPairs->count() > 0)
@else
-
@foreach($question->matchingPairs as $pair)
- {{ $pair->left_text }} ↔ {{ $pair->right_text }} ({{ $pair->match_score }} балл.) @endforeach
Нет пар
@endifОтветы
@if($question->answers->count() > 0)
@endif
-
@foreach($question->answers as $answer)
- {{ Str::limit($answer->answer_text, 50) }} @if($answer->is_correct)@endif @endforeach
Нет ответов
@endif