@if($type == 1) {!! Form::hidden('question_type',$question_type ? $question_type : "",['id'=>'js-pro-question_type-manual-'.$section,"data-question"]) !!} @foreach($question_list as $question)
{!! Form::hidden('question_pool_id',$question->pool_id,['id'=>'question_pool_id-'.$question->id]) !!} {!! Form::hidden('question_topic_id',$question->topic_id,['id'=>'question_topic_id-'.$question->id]) !!} {!! Form::hidden('question_difficulty_id',$question->difficult_level_id,['id'=>'question_difficulty_id-'.$question->id]) !!}
{{ empty($question->pool_name) ? 'Undefined Pool' : ucfirst($question->pool_name->name) }}
{{ empty($question->topic_name) ? 'No Topic' : ucfirst($question->topic_name->name) }}
@if($question->question_type != 2)
{{ empty($question->difficulty_name) ? 'Undefined Difficulty' : ucfirst($question->difficulty_name->difficulty_level) }}
@endif
@php $string = str_replace(' ',' ',strip_tags(str_replace(array("\r\n", "\r", "\n", "\t"), "
", $question->question))); if (strlen($string) > 500) { $stringCut = substr($string, 0, 500); $endPoint = strrpos($stringCut, ' />'); if ($endPoint == false) { $endPoint = strrpos($stringCut, ' '); $pointer = $endPoint; } else { $pointer = $endPoint+3; } $string = $endPoint? substr($stringCut, 0, $pointer) : substr($stringCut, 0); if (strlen($string) > 400) { $string = strip_tags($string); } if(strlen($string) < 1) { $string = 'Click To View Question'; } $string .= '...'; } @endphp {!! $string !!}
@if($question->question_type == 4) {!! Form::hidden('question_problem_id',$question->problem_id,['id'=>'question_problem_id-'.$question->id]) !!}
{!! Form::select('language_cluster[]',$languatgecluster,!empty($pro_lang_data[$question->id])?$pro_lang_data[$question->id] : [],array('class'=>'form-control select2','multiple'=>true,'id'=>'languagecluster_id-'.$question->id,'data-placeholder'=>'Select')) !!}
@endif
@if($question->question_type == 4) @endif @endforeach @if($question_list->hasMorePages())
Load more...
@else
No More Questions based on your search criteria
@endif @else {!! Form::hidden('question_type',$question_type ? $question_type : "",['id'=>'js-pro-question_type-'.$section]) !!}
{!! Form::hidden('auto_content_section-'.$question_set['section_id'],$question_set['section_id'],['id'=>'auto-content-section-'.$question_set['section_id']]) !!}

Pool : {{$question_set['pool']}} {!! Form::hidden('auto_content_pool-'.$question_set['section_id'],$question_set['pool_id'],['id'=>'auto-content-pool-'.$question_set['section_id']]) !!}

Topic : {{$question_set['topic']}} {!! Form::hidden('auto_content_topic-'.$question_set['section_id'],$question_set['topic_id'],['id'=>'auto-content-topic-'.$question_set['section_id']]) !!}

@php $sum = 0; @endphp @foreach($question_set['matrix'] as $difficulty => $count) @php if($loop->iteration == 1){ $bg_color = 'bg-green'; } elseif ($loop->iteration == 2) { $bg_color = 'bg-yellow'; } else { $bg_color = 'bg-red'; } $sum = $sum + $count; @endphp
{{$count}}
@endforeach
@endif