@php // defaults; backwards compatibility with Backpack 4.0 widgets $widget['wrapper']['class'] = $widget['wrapper']['class'] ?? $widget['wrapperClass'] ?? 'col-sm-6 col-lg-3'; $accentColor = $widget['accentColor'] ?? 'info'; @endphp @includeWhen(!empty($widget['wrapper']), backpack_view('widgets.inc.wrapper_start'))
@includeWhen(!empty($widget['wrapper']), backpack_view('widgets.inc.wrapper_end'))