@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; @endphp
@csrf

{{ $test->title }}

/ {{ $testQuestions->count() }} answered · −{{ rtrim(rtrim((string) $test->negative_marks, '0'), '.') }} per wrong answer · saving…

@foreach($testQuestions as $index => $testQuestion) @php $question = $testQuestion->question; @endphp

{{ $index + 1 }}. {{ $question->body }} ({{ (float) $testQuestion->marks }})

@foreach($question->options ?? [] as $option) @endforeach
@endforeach