{{-- Layout --}} @extends('teacher.layout.layout') {{-- Page Title --}} @section('title', 'GAS LMS | Preview MCQ Question') {{-- Breadcrumb section --}} @section('breadcrumb') @include('components._breadcrumb', ['items' => ['All Questions' => route('teacher.questionbank.show', [$course_id,$question->question_bank_id])]]) @endsection {{-- Content --}} @section('content') @include('components._error') @if ($msg=Session::get('is_correct')) @if ($msg == 1)

Wrong

the correct answer(s):

@foreach (Session::get('correct_choices') as $choice)
  • {{$choice->description}}
  • @endforeach
    @else
    Correct, Well done!
    @endif @endif
    Preview MCQ Question

    * Select the right answer from the following :-

    {{--begin question --}}
    {{-- start:question multimedia --}} @if ($question_attachments->count() > 0) @foreach ($question_attachments as $question_attachment) @if ($question_attachment->type == 'ogg' || $question_attachment->type == 'mp4' || $question_attachment->type == 'mp3')
    @else
    @endif @endforeach @endif {{-- end:question multimedia --}} @if ($mcq_question->questiontext)
    {!! $mcq_question->questiontext !!}
    @endif
    @foreach ($choices as $choice)
    @endforeach
    {{--end question --}}
    @endsection