@php $tabs = []; $quantity = max((int) $shortcode->quantity, 3); if ($quantity) { for ($i = 1; $i <= $quantity; $i++) { if (($heading = $shortcode->{'heading_' . $i})) { $description = $shortcode->{'description_' . $i} ?: '' ; $tabs[] = [ 'heading' => $heading, 'description' => $description, 'icon' => $shortcode->{'icon_' . $i}, 'data_wow_delay' => '.' . ($i - 1) * 2 . 's', ]; } } } @endphp
@if ($title = $shortcode->title)

{!! BaseHelper::clean($title) !!}

@endif @if ($subtitle = $shortcode->subtitle)

{!! BaseHelper::clean($subtitle) !!}

@endif
@foreach($tabs as $tab)
{{ Arr::get($tab, 'heading') }}
{{ Arr::get($tab, 'heading') }}

{!! BaseHelper::clean(Arr::get($tab, 'description')) !!}

@endforeach
{!! Form::open(['route' => 'public.send.contact', 'class' => 'contact-form cons-contact-form']) !!} {!! apply_filters('pre_contact_form', null) !!}
@if (is_plugin_active('captcha')) @if (setting('enable_captcha'))
{!! Captcha::display() !!}
@endif @if (setting('enable_math_captcha_for_contact_form', 0))
{!! app('math-captcha')->input(['class' => 'form-control', 'id' => 'math-group', 'placeholder' => app('math-captcha')->getMathLabelOnly() . ' = ?']) !!}
@endif @endif
{!! apply_filters('after_contact_form', null) !!}
{!! Form::close() !!}