{{ session('success') }}
@endif
@if($errors->any())
-
@foreach($errors->all() as $error)
- {{ $error }} @endforeach
Quiz Management
No modules found.
Create a module first →
@foreach($modulesWithQuestions as $module)
@endif
{{-- Module Header (Clickable) --}}
{{-- Questions Table (Collapsible) --}}
@endforeach
▶
{{ $module->name }}
{{ $module->description ?? 'No description' }}
{{ $module->questions_count }} questions
Pass: {{ $module->passing_mark }}%
@if($module->questions->isEmpty())
@endif
No questions in this module yet. Click "+ Add New Question" to add some.
@else
| # | QUESTION | CORRECT | ACTIONS |
|---|---|---|---|
| {{ $index + 1 }} |
{{ Str::limit($question->question_text, 80) }}
A: {{ Str::limit($question->option_a, 20) }} |
B: {{ Str::limit($question->option_b, 20) }} |
C: {{ Str::limit($question->option_c, 20) }} |
D: {{ Str::limit($question->option_d, 20) }}
|
{{ $question->correct_answer }} |