Информация
Тип:{{ $test->type }}
Описание:{{ $test->description ?? '—' }}
Вопросов:{{ $test->questions->count() }}
Время:{{ $test->time_limit_minutes ?? '∞' }} мин
Проходной балл:{{ $test->passing_score }}%
Попыток:{{ $test->max_attempts }}
Перемешивание:@if($test->shuffle_questions)Да@elseНет@endif
Показ ответов:@if($test->show_correct_answers)Да@elseНет@endif
Статус:@if($test->is_active)Активен@elseНе активен@endif
Вопросы ({{ $test->questions->count() }})
@if($test->questions->count() > 0)
@foreach($test->questions as $question) @endforeach
# Вопрос Тип Баллы Ответов Действия
{{ $loop->iteration }} {{ Str::limit(strip_tags($question->question_text), 80) }} @if($question->is_required)@endif @if($question->type === 'multiple_choice') @php $correctCount = $question->answers->where('is_correct', true)->count(); @endphp @if($correctCount === 1) @else @endif @elseif($question->type === 'matching') @elseif($question->type === 'ordering') @endif {{ $question->type }} {{ $question->score }} {{ $question->answers->count() }}@if($question->matchingPairs->count() > 0) + {{ $question->matchingPairs->count() }} пар@endif
@csrf @method('DELETE')
@else

Нет вопросов

@endif