@php
$typeLabels = ['radio'=>'Single Choice','checkbox'=>'Multiple Choice','text'=>'Open Text','idea'=>'Your Idea'];
$typeClass = ['radio'=>'q-type-radio','checkbox'=>'q-type-checkbox','text'=>'q-type-text','idea'=>'q-type-idea'];
@endphp
{{ $typeLabels[$q->question_type] ?? 'Text' }}
@if($q->is_required)
Required
@endif
{{ $language === 'bn' && $q->question_text_bn ? $q->question_text_bn : $q->question_text }}
@if($language === 'bn' && $q->question_text_bn)
{{ $q->question_text }}
@endif