Edit Assignment Question
@csrf
@if (isset($question->image) && $question->image && file_exists(public_path('uploads/questionImages/' . $question->image))) @endif
@if($question->type=='1')
Question : Options
@if (isset($question->options)) @foreach ($question->options as $option) {{-- {{dd($question->options)}} --}} @include('admin.components.questionEditOption', [ 'id' => $option->id, 'question_id' => $question->id, 'option' => $option, ]) @endforeach @endif
@endif