silverstripe-webpack/app/templates/WidgetHolder.ss

5 lines
188 B
Scheme

<nav class="secondary element element__widget widget__$ClassName {$SimpleClassName}">
<% if $ShowTitle && $Title %><h2 class="widget-title">$Title</h2><% end_if %>
$Content
</nav>