@extends('backend.master') @section('mainContent') {!! generateBreadcrumb() !!}

{{__('quiz.Quiz Marking')}}

@csrf
@php $count=1; @endphp @if(isset($questions)) @foreach($questions as $question)

{{__('frontend.Question')}}: {{$count}}

{{__('quiz.Question Marks')}} : {{@$question['question_marks']}}

{!!@$question['qus']!!}

@if ($question['type']=='M')
    @if(!empty($question['option'])) @foreach($question['option'] as $option) @if($option['right'])
  • @else @if(isset($option['wrong']) && $option['wrong'])
  • @else
  • @endif @endif @endforeach @endif
@elseif ($question['type']=='X') @if(isModuleActive('AdvanceQuiz')) @php $qusBank =$question['qusBank']; @endphp @includeIf('advancequiz::partials._quiz_matching_type_preview',compact('qusBank')) @endif @else {!!@$question['answer']!!} @endif
@if(isset($question['isSubmit'])) @if(isset($question['isWrong']) && $question['isWrong']) @else @endif @else
@endif
@php $count++; @endphp @endforeach @endif
@php $tooltip = ""; if (!permissionCheck('set-quiz.store')){ $tooltip = "You have no permission to add"; } @endphp @if($quizTest->publish==0)
@endif
@endsection @push('scripts') @endpush