@foreach($perguntas as $key => $pergunta)
{{$key+1}} - {{$pergunta->enunciado}} @if($editavel=='yes') @endif @if(count($pergunta->alterantivas)>0)
Alternativas
    @foreach($pergunta->alterantivas as $alterantivas)
  • {{$alterantivas->alternativa}}
  • @endforeach
@else
Resposta Escrita @if($pergunta->obrigatorio==0)
@else
@endif
@endif

@endforeach