{{ $question->title }}


@php $hiddenOptions = session('hidden_options', []); @endphp @if(!$question->isTableOfQuestions()) @if(!in_array('yes',$hiddenOptions)) @endif @if(!in_array('no',$hiddenOptions)) @endif @else @foreach($question->childQuestions as $childQuestion)

{{ $childQuestion->title }}

@if(!in_array('yes',$hiddenOptions)) @endif @if(!in_array('no',$hiddenOptions)) @endif
@if($errors->has('replie.'.$childQuestion->id))

{{ $errors->first('replie.'.$q->id) }}

@endif @endforeach @endif