@foreach($questions->groupBy('type') as $type=>$items)
@if($type=='true_false')
ضع علامة صح (
)
امام الإجابة الصحيحة
و علامة (
)
امام الإجابة الخطأ
@foreach($items as $question)
@endforeach
@else
@foreach($items as $question)
{{ $question->name }}
@if($question->type=='chose_multiple')
(يمكن اختيار أكثر من إجابة)
@else
(اختيار واحد فقط)
@endif
@foreach($question->Details as $detail)
@endforeach
@endforeach
@endif
@endforeach