mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
10 lines
351 B
Scheme
10 lines
351 B
Scheme
|
<% 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 %>
|