{!!$pesquisa->titulo!!}
@foreach($pesquisa->perguntas as $key => $pergunta)
{!! Form::hidden('perguntas[]', $pergunta->id) !!}
@endforeach
{!! Form::hidden('pesquisa_satisfacao_id', $pesquisa->id) !!}
@if(count($pergunta->alterantivas)>0)
@foreach($pergunta->alterantivas as $alterantivas)
{!! Form::hidden('resposta['.$pergunta->id.']', $alterantivas->alternativa) !!}
@endforeach
@else
{!! Form::radio('alternativa['.$pergunta->id.'] ',$alterantivas->id ,'' , ['id'=>'alternativa'.$alterantivas->id,'class'=>'md-radiobtn','required'=>'true']) !!}
{!! Form::textarea('resposta['.$pergunta->id.']','', ['class' => 'form-control', 'id'=>'enunciado', 'autocomplete' => 'off','style'=>'max-height:100px;resize:none']) !!}
{!! Form::label('name', 'Resposta') !!}
@endif
@endforeach