@foreach($perguntas as $key => $pergunta)
{{$key+1}}
- {{$pergunta->enunciado}} @if(count($pergunta->alterantivas)>0)
Alternativas
@foreach($pergunta->alterantivas as $alterantivas)
{{$alterantivas->alternativa}} @if($pergunta['alternativa']==$alterantivas->id)
@endif
@endforeach
@else
Resposta Escrita
{!! Form::text('titulo', $pergunta['resposta'], ['class' => 'form-control', 'disabled'=>'']) !!}
@if($pergunta->obrigatorio==0)
Campo obrigatório
@else
Campo obrigatório
@endif
@endif
@endforeach