silverstripe-webpack/app/templates/DNADesign/Elemental/Layout/ElementHolder.ss

11 lines
346 B
Scheme
Raw Normal View History

2020-08-14 00:36:26 +02:00
<div
id="$Anchor"
2021-01-20 16:51:16 +01:00
class="element $SimpleClassName.LowerCase
<% if $LinkedElement %> $LinkedElement.SimpleClassName.LowerCase<% end_if %>
<% if $StyleVariant %> $StyleVariant<% end_if %><% if $ExtraClass %> $ExtraClass<% end_if %>"
2020-08-14 00:36:26 +02:00
>
<div class="element-container<% if $ContainerClass %> $ContainerClass<% end_if %>">
$Element
</div>
</div>