@extends('layouts.app') @section('content') {{$surveyName->name}} @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++) {{$i}} @endfor @if($_questions->status) @if($errors->has("answer.".$quesCount)) აუცილებელი ველი!!! @endif @endif @elseif($_questions->qtype==21) @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==22) @for($i=1; $i<=$_questions->subqtype; $i++) {{-- @if(old("answer.".$quesCount.$i)) checked value="{{$_questions->qinfo[$i-1]}}" @endif--}} {{-- answer.{{$quesCount}}{{$i}}--}} {{$_questions->qinfo[$i-1]}} @endfor {{-- @if($_questions->status)--}} {{-- @if($errors->has("answer.".$quesCount))--}} {{-- --}} {{-- აუცილებელი ველი!!!--}} {{-- --}} {{-- @endif--}} {{-- @endif--}} @elseif($_questions->qtype==23) {{ old("answer.".$quesCount) }} @if($_questions->status) @if($errors->has("answer.".$quesCount)) აუცილებელი ველი!!! @endif @endif @endif @endforeach გაგზავნა @endif @push('custom-scripts') @endpush @endsection