@foreach($tabs as $id => $tab)
@php($content = \Illuminate\Support\Arr::get($tab, 'content')) @if($content instanceof \Illuminate\Contracts\Support\Renderable) {!! $content->render() !!} @else {!! $content !!} @endif
@endforeach