@extends('layout.default') @section('content') @section('page_toolbar') Back @endsection @if ($errors->any())
@endif
@if(sizeof($questionImages)>0) @endif @if($question->question_type == 1) @endif @if($question->question_type == 2) @endif @if($question->question_type == 1) @endif @if($question->question_type == 3) @foreach($answer as $key=>$value) @endforeach @endif @php $cat = explode(',',$question->category); $str = ''; @endphp @if((in_array(1,$cat))) @php $str = 'Key Word Test'; @endphp @endif @if((in_array(2,$cat))) @if($str!= '') @php $str .= ', '; @endphp @endif @php $str .= 'Formula Practice'; @endphp @endif @if((in_array(3,$cat))) @if($str!= '') @php $str .= ', '; @endphp @endif @php $str .= 'Converting Units'; @endphp @endif @if((in_array(4,$cat))) @if($str!= '') @php $str .= ', '; @endphp @endif @php $str .= 'Quiz Questions'; @endphp @endif
Question {!! $question->question !!}
    @foreach($questionImages as $image)
  • {{$image->id}}
  • @endforeach
Options @foreach($options as $key=>$option)
@endforeach
Answer {{ $answer }}
Answer @foreach($answer as $key=>$ans) @if($ans!='') Option {{ $key }}      @endif @endforeach
Blank Answer {{$key}} {{ $value }}
Difficulty Level {!! ucwords($question->difficulty_level) !!}
Mark {!! $question->mark !!}
Question Mode {!! ucwords($question->question_mode) !!}
Category{{ $str }}
@endsection