@if (Session::has('error'))
{{ Session::get('error') }}
@endif
@if (session('success'))
{{ session('success') }}
@endif
{{ $form->name }}
@if($form->limit_attempts == 'Yes' && $form->number_attempts <= $form->existing_attempts)
@elseif(strtotime($form->start_time) <= strtotime("now")+(19800) && strtotime($form->end_time) >= strtotime("now")+(19800) )
@else
@endif
{{ $form->name }}
Your response are successfully submitted.
@if($form->show_score)
@endif
@if($form->show_answers)
@php
$qc = 1;
$ols = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'];
@endphp
@foreach ($questions as $question)
@php
$ac = 0;
@endphp
@foreach($question->options as $ans)
{{$ols[$ac]}}) {{$ans->option}}
@php
$ac++;
@endphp
@endforeach
@php
$qc++;
@endphp
@endforeach
@endif