cms-niceties/templates/A2nt/CMSNiceties/Widgets/ElementWidget.ss

10 lines
351 B
Scheme
Raw Normal View History

2021-06-19 21:30:03 +02:00
<% if $Element %>
<% with $Element %>
<div class="element element__{$SimpleClassName}<% if $StyleVariant %> $StyleVariant<% end_if %><% if $ExtraClass %> $ExtraClass<% end_if %>" id="$Anchor">
<div class="element-container<% if $ContainerClass %> $ContainerClass<% end_if %>">
$forTemplate
</div>
</div>
<% end_with %>
<% end_if %>