@csrf
@foreach($customFields as $customField) @if($customField->type == Botble\Portfolio\Enums\CustomFieldType::TEXT)
@elseif($customField->type == Botble\Portfolio\Enums\CustomFieldType::NUMBER)
@elseif($customField->type == Botble\Portfolio\Enums\CustomFieldType::TEXTAREA)
@elseif($customField->type == Botble\Portfolio\Enums\CustomFieldType::DROPDOWN) @continue(! $customField->options->filter(fn ($option) => ! empty($option->label)))
@elseif($customField->type == Botble\Portfolio\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 @endforeach
@if (is_plugin_active('captcha') && Captcha::isEnabled())
{!! Captcha::display() !!}
@endif
@if (($buttonLabel = $shortcode->button_label) && ($buttonUrl = $shortcode->button_url)) {{ $buttonLabel }} @endif