@include('layouts.shared/title-meta', ['title' => 'Form']) @include('layouts.shared/head-css', ['mode' => $mode ?? '', 'demo' => $demo ?? ''])
processing...
@if (Session::has('error'))
{{ Session::get('error') }}

@endif @if (session('success'))
{{ session('success') }}

@endif @if($form->limit_attempts == 'Yes' && $form->number_attempts <= $form->existing_attempts)

You have already submitted the Quiz for the maximum number of times allowed.

Allowed attempts: {{$form->number_attempts}}
Attempts done: {{$form->existing_attempts}}
@elseif(strtotime($form->start_time) <= strtotime("now")+(19800) && strtotime($form->end_time) >= strtotime("now")+(19800) )
@csrf @foreach ($questions as $question)

{{ $question->question }}

@php $ac = 0; @endphp @foreach($question->options as $ans) @php $ac++; @endphp @endforeach
@endforeach @if (!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes'))
@endif
@else

Poll will be active from {{date("d M, h:iA", strtotime($form->start_time)) }} to {{date("d M, h:iA", strtotime($form->end_time)) }}

@endif

{{ $form->name }}

Your response are successfully submitted.

@if($form->show_answers) @foreach ($questions as $question) @foreach($question->options as $ans)
70%

{{$ans->option}}

@endforeach @endforeach @endif
@include('layouts.shared/footer-script')