MCQ Question

MCQ Question List {{ $datas->count() }}
@csrf

@php $i = 1 @endphp @foreach($datas as $item) @endforeach
SL VERSION QUESTION ANSWER OPTION 1 OPTION 2 OPTION 3 OPTION 4 STATUS Action
{{ $i++ }} {{ $item->version ?? '' }} @if($item->question_img) @endif @if($item->question)
{!! $item->question ?? '' !!} @endif
@if($item->answer_img) @endif @if($item->answer)
{!! $item->answer ?? '' !!} @endif
@if($item->option_one_img) @endif @if($item->option_one)
{!! $item->option_one ?? '' !!} @endif
@if($item->option_two_img) @endif @if($item->option_two)
{!! $item->option_two ?? '' !!} @endif
@if($item->option_three_img) @endif @if($item->option_three)
{!! $item->option_three ?? '' !!} @endif
@if($item->option_four_img) @endif @if($item->option_four)
{!! $item->option_four ?? '' !!} @endif
@if($item->status == 1) ACTIVE @else INACTIVE @endif
  • @csrf @method('DELETE')
{{ $datas->links() }}