@php $tabs = Shortcode::fields()->getTabsData(['title', 'description', 'icon', 'icon_image', 'url', 'open_in_new_tab'], $shortcode); @endphp
@if ($title = $shortcode->title)

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

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

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

@endif
{!! $form->renderForm() !!}
@foreach($tabs as $tab) @continue (! ($title = Arr::get($tab, 'title')))
@if ($iconImage = Arr::get($tab, 'icon_image')) {!! RvMedia::image($iconImage, $title) !!} @elseif($icon = Arr::get($tab, 'icon')) {!! BaseHelper::renderIcon($icon) !!} @endif
{{ $title }}
@if ($description = BaseHelper::clean(Arr::get($tab, 'description'))) @if ($url = Arr::get($tab, 'url')) {!! Html::link($url, $description, ['target' => Arr::get($tab, 'open_in_new_tab', 'yes') == 'yes' ? '_blank' : '_self']) !!} @else {!! $description !!} @endif @endif
@endforeach @if ($address = $shortcode->address)
@endif