-
@foreach($questionIds as $qi => $qid)
@php $isAnswered = session("answers.{$qi}"); $isCurrent = ($qi === $questionIndex); @endphp
- @if($isCurrent) {{ str_pad($qi + 1, 2, '0', STR_PAD_LEFT) }} @else {{ str_pad($qi + 1, 2, '0', STR_PAD_LEFT) }} @endif @endforeach
Question {{ $questionIndex + 1 }}
{{-- ── Footer: keyboard hints + progress ─────────────────── --}}
{!! $question->question ?? '' !!}
{{-- Auto-advance countdown (independent of live recording, not last question) --}}
@if(config('cbt.auto_nav_enabled') && $questionIndex < $total - 1)
@endif