@includeWhen(!empty($widget['wrapper']), backpack_view('widgets.inc.wrapper_start'))
2)
@foreach ($widget as $attribute => $value)
@if (is_string($attribute) && $attribute!='content' && $attribute!='type')
{{ $attribute }}="{{ $value }}"
@endif
@endforeach
@endif
>
@if (isset($widget['content']))
@include(backpack_view('inc.widgets'), [ 'widgets' => $widget['content'] ])
@endif
@includeWhen(!empty($widget['wrapper']), backpack_view('widgets.inc.wrapper_end'))