{{ __('View Question') }}
{{ __('Question Information') }}
{{-- Question Type --}}
{{-- Options Count --}}
@if ($question->options_count)
@endif
{{-- Question Text --}}
{{-- Answers (if applicable) --}}
@if (
in_array($question->type, [
'Multiple Choices (Multi select)',
'Multiple Choice (Single Select)',
'Yes or No Question',
])
)
@php
$answers = json_decode($question->answer ?? '[]');
@endphp
@if (!empty($answers))
@else
@endif
{{ __('No answers available.') }}
@endif