@extends('layouts.app') @section('content')
@if(count($questions)!=0)
@csrf
{!!$surveyName->instruction!!}
@foreach($questions as $_questions)
@if($_questions->status) @endif კითხვა - {{ $quesCount}}
{!!$_questions->question!!}
@if($_questions->qtype==20)
@for($i=1; $i<=$_questions->subqtype; $i++) @endfor
@if($_questions->status) @if($errors->has("answer.".$quesCount)) აუცილებელი ველი!!! @endif @endif
@elseif($_questions->qtype==21)
@for($i=1; $i<=$_questions->subqtype; $i++) @endfor
@if($_questions->status) @if($errors->has("answer.".$quesCount)) აუცილებელი ველი!!! @endif @endif
@elseif($_questions->qtype==22)
@for($i=1; $i<=$_questions->subqtype; $i++) {{$_questions->qinfo[$i-1]}} @endfor
{{-- @if($_questions->status)--}} {{-- @if($errors->has("answer.".$quesCount))--}} {{-- --}} {{-- აუცილებელი ველი!!!--}} {{-- --}} {{-- @endif--}} {{-- @endif--}}
@elseif($_questions->qtype==23)
@if($_questions->status) @if($errors->has("answer.".$quesCount)) აუცილებელი ველი!!! @endif @endif
@endif
@endforeach
@endif
@push('custom-scripts') @endpush @endsection