@php // preserve backwards compatibility with Widgets in Backpack 4.0 if (isset($widget['wrapperClass'])) { $widget['wrapper']['class'] = $widget['wrapperClass']; } @endphp @includeWhen(!empty($widget['wrapper']), backpack_view('widgets.inc.wrapper_start'))
@if (isset($widget['heading']))

{!! $widget['heading'] !!}

@endif @if (isset($widget['content']))

{!! $widget['content'] !!}

@endif @if (isset($widget['button_link']))

{{ $widget['button_text'] }}

@endif
@includeWhen(!empty($widget['wrapper']), backpack_view('widgets.inc.wrapper_end'))