@if (!empty($field['description_top']))
{!! nl2br(e($field['description_top'])) !!}
@endif
@switch($field["type"])
@case('textarea')
@break
@case('text')
@break
@case('checkbox-group')
@foreach ($field['values'] ?? [] as $j => $v)
@php
$inputId = "{$basePrefix}_chk_{$j}";
@endphp
@if (isset($v['name']))
@endif
@endforeach
@break
@case('text-list')
@break
@case('checkbox-grouped')
@foreach ($field['groups'] ?? [] as $g => $group)
@endforeach
@if (!empty($field['other_input']))
@endif
@break
@case('radiobutton-group')
@break
@default
{{ trans('form_lang.dataNotAvailable') }}
@endswitch