{{-- Extends layout --}} @extends(getThemeBasePath()) @section('page_title') {{$page_title}} @endsection {{-- Content --}} @section('content')
@csrf
@include("backend.alerts") @include("backend.errors") @foreach ($questions as $index => $question) @php $ans = $submitted_answer[$question->id] ?? ""; $str_arr = explode(",", $ans); $isDisabled = !empty(array_filter($str_arr)) ? "disabled" : ""; @endphp

@if($question->option_2 != '')
@endif @if($question->option_3 != '')
@endif @if($question->option_4 != '')
@endif @if($question->option_all == 'All')
@endif
@endforeach
@endsection {{-- Scripts Section --}} @section('scripts') @endsection