@php $list = Shortcode::fields()->getTabsData(['label', 'content'], $shortcode, 'list'); @endphp
@if($shortcode->title || $shortcode->subtitle)
@if($shortcode->subtitle)
{!! BaseHelper::clean(nl2br($shortcode->subtitle)) !!}
@endif @if($shortcode->title)

{!! BaseHelper::clean($shortcode->title) !!}

@endif
@endif
@if($tabs)
$list, 'col-lg-12' => ! $list])>
@foreach(collect($tabs)->split(2) as $row)
$loop->first, 'col-lg-8 col-md-7 col-10' => ! $loop->first])>
    @foreach($row as $tab)
  • {{ $tab['name'] }}
  • @endforeach
@endforeach
@endif @if($list)
$tabs, 'col-lg-12' => ! $tabs])>
    @foreach($list as $item)
  • {{ $item['label'] }}

    {{ $item['content'] }}
  • @endforeach
@endif