@include('layouts/styles') @include('page/survey/styles') @if ($total > 1)
@endif
@csrf

{{ $question[0]->form_name }}

@foreach ($question as $key => $page)

{{ $page->page_name }}

@foreach ($page->question as $child_key => $question)
@if ($question->type_id == '1')
Wajib Di Isi!
@elseif($question->type_id == '2' && !empty($question->question_setting_answer)) required == 'on' ? 'required' : '' }} /> @foreach ($question->question_setting_answer as $grand_child_key => $opsi) @if (!empty($opsi->attachment))
required == 'on' ? 'required' : '' }} />
@else {{-- opsi --}}
{{-- opsi end--}} @endif @endforeach
Wajib Di Isi!
@elseif($question->type_id == '3')
required == 'on' ? 'required' : '' }} />
Wajib Di Isi!
@endif @if ($child_key + 1 != count(json_decode(json_encode($page->question), true)))
@endif
@endforeach
@if ($total > 1 && $key >= 1)
@else
@endif
@if ($total > 1) @if ($key + 1 == $total)
@else
@endif @else
@endif
@endforeach
@include('layouts/scripts')