@php // defaults; backwards compatibility with Backpack 4.0 widgets $widget['wrapper']['class'] = $widget['wrapper']['class'] ?? $widget['wrapperClass'] ?? 'col-sm-6 col-lg-3'; @endphp @includeWhen(!empty($widget['wrapper']), backpack_view('widgets.inc.wrapper_start'))
@if (isset($widget['value']))
{!! $widget['value'] !!}
@endif @if (isset($widget['description']))
{!! $widget['description'] !!}
@endif @if (isset($widget['progress']))
@endif @if (isset($widget['hint'])) {!! $widget['hint'] !!} @endif
@if (isset($widget['footer_link'])) @endif
@includeWhen(!empty($widget['wrapper']), backpack_view('widgets.inc.wrapper_end'))