{{-- {{dd($assignment)}} --}} @foreach ($assignment->questions as $index => $question)
{{ $index + 1 }}.
{!! $question->content !!}
@if ($question->type == 1) @if (!empty($question->image))
@endif @endif

@if ($question->type == 0) @if (!empty($question->image))
@endif

@else @foreach ($question->options as $option)
first ? 'required' : '' }}>
@endforeach @endif
@endforeach