@foreach($questions->groupBy('type') as $type=>$items)
@if($type=='true_false')
ضع علامة صح (
)
امام الإجابة الصحيحة
و علامة (
)
امام الإجابة الخطأ
@foreach($items as $question)
@endforeach
@else
@foreach($items as $question)
@endforeach
@endif
@endforeach