@if ($section['type'] === 'repeater')
@forelse ($section['items'] as $index => $item)
@foreach ($section['fields'] as $field)
@if (($field['type'] ?? 'text') === 'textarea')
@else
@endif
@endforeach
@empty
No entries yet.
@endforelse
@else
@foreach ($section['fields'] as $field)
@if (($field['type'] ?? 'text') === 'textarea')
@else
@endif
@endforeach
@endif