{{-- Variables esperadas: $pregunta - Pregunta model $tipoSlug - string (slug del tipo) $fieldName - string (name del input, ej: "resp[1]" o "resp[1][5]") $fieldId - string (id único del input) --}} @if($tipoSlug === 'texto_libre') @elseif($tipoSlug === 'opcion_multiple')