{{* Generic template for widgets. * * To use this template, pass the `$this` object reference of the widget, * and implement the `title()` and `contents()` functions as public methods * on the widget class. *}}
{{if $widget->title()}}

{{$widget->title()}}

{{/if}} {{$widget->contents()}}