{{-- @extends('layouts.app') @section('content')
@if (Auth::user()->is_admin)
@endif
{{ $questionario->name }}
@if (Auth::user()->is_admin == 1) @endif @if (Auth::user()->is_admin == 1) @else @endif
DescriçãoStatus Tipo Múltiplas respostas
{!! $questionario->description !!} {{ $questionario->status }} {{ $questionario->type }} {{ $questionario->multipart == '1' ? 'Ativo' : 'Inativo' }} {!! $questionario->description !!}
@foreach ($questions as $etapa => $questoes)
@if ($etapa >= '2')

{{ $etapa }}º Processo

@endif
@foreach ($questoes as $question) @if ($question->type_subquestion == 'subtitule')

{!! $question->content !!}

@else
{!! $question->content !!}
@if ($question->instruction)
Instrução:

{!! $question->instruction !!}

@endif @if ($question->manual_answer == '1') @if (isset($question->questoes)) @foreach ($question->questoes as $questoes)
@if ($questoes->type_subquestion == 'radio') resposta) ? 'checked' : '' }} onchange="verificacondicional({{ $question->id }},'{!! $questoes->content !!}')"> @elseif($questoes->type_subquestion == 'checkbox') resposta == true ? 'checked' : '' }} onchange="verificacondicional({{ $question->id }},'{!! $questoes->content !!}')"> @else @endif
@endforeach @else
@endif @else @if ($question->enable_multiple_choice == '1') @foreach ($question->options as $option)
resposta == true ? 'checked' : '' }} onchange="verificacondicional({{ $question->id }},'{!! $option->content !!}')">
@endforeach @else @foreach ($question->options as $option)
resposta == true ? 'checked' : '' }} onchange="verificacondicional({{ $question->id }},'{!! $option->content !!}')">
@endforeach @endif @endif
@endif @endforeach

@endforeach
@if ($questionario->multipart == '1') @endif @if ($questionario->multipart == '1') @endif @php session()->put('questionario', $questionario->id); @endphp @endsection --}} {{-- backup --}} {{-- @if ($questionario->multipart == '1') @endif --}}