silverstripe-webpack/app/templates/WidgetHolder.ss

5 lines
188 B
Scheme
Raw Normal View History

<nav class="secondary element element__widget widget__$ClassName {$SimpleClassName}">
2019-12-12 16:15:44 +01:00
<% if $ShowTitle && $Title %><h2 class="widget-title">$Title</h2><% end_if %>
$Content
</nav>