@if ($quizQuestion->question->questiontype == 'essay')
Answer the following question
{{$quizQuestion->question->essayQuestion->name}} ?
@if ($quizQuestion->question->essayQuestion->hint)
@endif
@if ($quizQuestion->question->essayQuestion->questiontext)
{!! strip_tags($quizQuestion->question->essayQuestion->questiontext) !!}
@endif
{{-- Start:multimedia --}}
@if ($quizQuestion->question->essayQuestion->multimedia_id)
@else
@endif
@endif
{{-- End:multimedia --}}
@elseif ($quizQuestion->question->questiontype == 'complete')
Complete the following
{{$quizQuestion->question->completeQuestion->name}} ?
@if ($quizQuestion->question->completeQuestion->hint)
@endif
@if ($quizQuestion->question->completeQuestion->questiontext)
{!! strip_tags($quizQuestion->question->completeQuestion->questiontext) !!}
@endif
{{-- Start:multimedia --}}
@if ($quizQuestion->question->completeQuestion->multimedia_id)
@else
@endif
@endif
{{-- End:multimedia --}}
@elseif ($quizQuestion->question->questiontype == 'mcq')
Choose the right answer
{{$quizQuestion->question->mcqQuestion->name}} ?
@if ($quizQuestion->question->mcqQuestion->hint)
@endif
@if ($quizQuestion->question->mcqQuestion->questiontext)
{!! strip_tags($quizQuestion->question->mcqQuestion->questiontext) !!}
@endif
{{-- Start:multimedia --}}
@if ($quizQuestion->question->mcqQuestion->multimedia_id)
@else
@endif
@endif
{{-- End:multimedia --}}
@foreach ($quizQuestion->question->mcqQuestion->choices as $choice)
@endforeach
@elseif ($quizQuestion->question->questiontype == 'match')
Match the following
{{$quizQuestion->question->matchQuestion->name}} ?
@if ($quizQuestion->question->matchQuestion->hint)
@endif
@if ($quizQuestion->question->matchQuestion->questiontext)
{!! strip_tags($quizQuestion->question->matchQuestion->questiontext) !!}
@endif
{{-- Start:multimedia --}}
@if ($quizQuestion->question->matchQuestion->multimedia_id)
@else
@endif
@endif
{{-- End:multimedia --}}
{{-- match --}}
@foreach ($quizQuestion->question->matchQuestion->leftSideMatch->shuffle() as $left_item)
{{$left_item->description}}
{{-- @if ($left_item->multimedia_id)
@endif --}}
@endforeach
@foreach ($quizQuestion->question->matchQuestion->rightSideMatch->shuffle() as $right_item)
{{$right_item->description}}
{{-- @if ($right_item->multimedia_id)
@endif --}}
@endforeach
@elseif ($quizQuestion->question->questiontype == 'audio')
Listen to the Audio below,
download the question file and then upload your answers
{{$quizQuestion->question->audioQuestion->name}} ?
@if ($quizQuestion->question->audioQuestion->hint)
@endif
@if ($quizQuestion->question->audioQuestion->questiontext)
{!! strip_tags($quizQuestion->question->audioQuestion->questiontext) !!}
@endif
{{-- Start:multimedia --}}
@if ($quizQuestion->question->audioQuestion->multimedia_id != null)
{{-- audio --}}
{{-- file --}}
@endif
@endif
{{-- End:multimedia --}}
Upload Answers
or drag and drop files here
@elseif ($quizQuestion->question->questiontype == 'file')
Upload the file with your answers
{{$quizQuestion->question->fileQuestion->name}} ?
@if ($quizQuestion->question->fileQuestion->hint)
@endif
@if ($quizQuestion->question->fileQuestion->questiontext)
{!! strip_tags($quizQuestion->question->fileQuestion->questiontext) !!}
@endif
{{-- Start:multimedia --}}
@if ($quizQuestion->question->fileQuestion->multimedia_id)
@endif
{{-- End:multimedia --}}
Upload Answers
or drag and drop files here
@endif
@endforeach