@php $contactInfo = Shortcode::fields()->getTabsData(['title', 'description', 'icon'], $shortcode); $showCol = $contactInfo || $shortcode->title || $shortcode->subtitle; @endphp
htmlAttributes() !!} class="section-contact-1 position-relative section-padding shortcode-contact-form shortcode-contact-form-style-1" @style($variablesStyle) >
@if($showCol)
@if($shortcode->subtitle)
dots {!! BaseHelper::clean(nl2br($shortcode->subtitle)) !!}
@endif @if($shortcode->title)
{!! BaseHelper::clean($shortcode->title) !!}
@endif @if($shortcode->description) {!! BaseHelper::clean(nl2br($shortcode->description)) !!} @endif @foreach($contactInfo as $info)
@if($info['icon'])
@endif
{{ $info['title'] }} @if($info['description'])

{{ $info['description'] }}

@endif
@endforeach
@endif
$showCol, 'col-lg-12' => ! $showCol])>
@if($shortcode->form_title)

{{ $shortcode->form_title }}

@endif @if($shortcode->form_description)

{{ $shortcode->form_description }}

@endif {!! /** @var \Botble\Contact\Forms\Fronts\ContactForm $form **/ $form ->setFormInputWrapperClass('input-group') ->setFormInputClass('form-control ms-0 border rounded-2') ->setFormLabelClass('mb-1 mt-3 text-white') ->modify( 'submit', 'submit', \Botble\Base\Forms\FieldOptions\ButtonFieldOption::make() ->cssClass('btn bg-white-keep text-primary hover-up mt-3') ->label(__('Send Message') . BaseHelper::renderIcon('ti ti-arrow-right', attributes: ['class' => 'ms-2'])) ) ->renderForm() !!}