{{ $titulo }}

@if(!empty($meta))
@foreach($meta as $label => $valor) @if($valor !== null && $valor !== '')
{{ $label }}: {{ $valor }}
@endif @endforeach
@endif @if($conNombreEstudiante)

Nombre del estudiante: _________________________________________________

Documento / código: ________________________     Fecha: ____ / ____ / ________

@endif @foreach($preguntas as $index => $pregunta) @php $tipo = method_exists($pregunta, 'tipoItemLabel') ? $pregunta->tipoItemLabel() : (\App\Models\Pregunta::TIPOS[$pregunta->tipo] ?? $pregunta->tipo); $esSeleccion = in_array($pregunta->tipo, ['seleccion_unica', 'seleccion_multiple', 'verdadero_falso'], true); $marca = $pregunta->tipo === 'seleccion_multiple' ? '☐' : '○'; @endphp
@if($pregunta->tipo !== 'descripcion') {{ $pregunta->puntos }} pts @endif
{{ $pregunta->tipo === 'descripcion' ? 'Información' : 'Pregunta '.($index + 1) }} · {{ $tipo }} @if(!empty($pregunta->codigo)) · {{ $pregunta->codigo }} @endif @if(!empty($pregunta->area?->nombre)) · {{ $pregunta->area->nombre }} @endif
{!! \App\Support\ExportHtml::preparar($pregunta->contenido, 'pregunta') !!}
@if($pregunta->tipo === 'likert' && $pregunta->likertItems->isNotEmpty())

Selecciona un nivel para cada enunciado:

@foreach($pregunta->opciones as $opcion) @endforeach @foreach($pregunta->likertItems as $item) @foreach($pregunta->opciones as $opcion) @endforeach @endforeach
Enunciado{{ strip_tags($opcion->contenido) }}
{{ $item->contenido }}
@elseif($esSeleccion) @if($pregunta->tipo === 'seleccion_multiple')

Puedes seleccionar más de una opción.

@endif @foreach($pregunta->opciones as $i => $opcion)
{{ $marca }} {{ method_exists($pregunta, 'etiquetaOpcion') ? $pregunta->etiquetaOpcion($i) : ($i + 1) }}. {!! \App\Support\ExportHtml::preparar($opcion->contenido, 'opcion') !!}
@endforeach @elseif($pregunta->tipo === 'abierta')

Escribe tu respuesta:

@endif
@endforeach