@foreach($customFields as $customField) @if($loop->index % 2 == 0)
@endif @if($customField->type == \Botble\Contact\Enums\CustomFieldType::TEXT)
@elseif($customField->type == \Botble\Contact\Enums\CustomFieldType::NUMBER)
@elseif($customField->type == \Botble\Contact\Enums\CustomFieldType::TEXTAREA)
@elseif($customField->type == \Botble\Contact\Enums\CustomFieldType::DROPDOWN) @continue(! $customField->options->filter(fn ($option) => ! empty($option->label)))
@elseif($customField->type == \Botble\Contact\Enums\CustomFieldType::CHECKBOX) @continue(! $customField->options->filter(fn ($option) => ! empty($option->label)))
{{ $customField->name }}
@foreach($customField->options as $option)
@php($id = Str::kebab("{$customField->name}-{$loop->index}"))
@endforeach
@endif @if($loop->index % 2 != 0)
@endif @endforeach