@php // defaults; backwards compatibility with Backpack 4.0 widgets $widget['wrapper']['class'] = $widget['wrapper']['class'] ?? $widget['wrapperClass'] ?? 'col-sm-6 col-lg-4'; $accentColor = $widget['accentColor'] ?? 'primary'; @endphp @includeWhen(!empty($widget['wrapper']), backpack_view('widgets.inc.wrapper_start'))
@if ($widget['ribbon'] ?? false)
@endif @if ($widget['statusBorder'] ?? false)
@endif
@if (isset($widget['content']['header']))
{!! $widget['content']['header'] !!}
@endif @if (isset($widget['content']['body']))
{!! $widget['content']['body'] !!}
@endif
@if (isset($widget['content']['link'])) @endif
@includeWhen(!empty($widget['wrapper']), backpack_view('widgets.inc.wrapper_end'))