Preguntas
Añadir Añadir pregunta
@if ($flag_question_type)
@endif
@if ($question_type == 'Abierta')
@error('question') {{ $message }} @enderror
@endif @if ($question_type == 'Opciones')
@error('question') {{ $message }} @enderror
Dar ENTER para agregar la opción {{ $message_options ?? '' }}
@if ($options)
    @foreach ($options as $key => $option)
  • {{ $option }} @if (!$flag_question_type) Editar @endif @if ($selected_id == 0) Editar @endif
  • @endforeach
@endif
@endif @if ($question_type)
@if ($flag_edit) Cancelar Actualizar @endif @if (!$flag_edit) Agregar @endif
@endif
@if ($questions)
    @foreach ($questions as $key => $question)
  1. {{ $question['question'] }} Editar @if ($selected_id == 0) Editar @endif
    @if ($question['options']) @foreach ($question['options'] as $option) {{-- {{ dd($option) }} --}}
    • {{ $option }}
    @endforeach @endif
  2. @endforeach
@endif