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

12 lines
354 B
Scheme
Raw Normal View History

2020-08-14 00:36:26 +02:00
<div
2021-06-19 22:22:44 +02:00
id="$Anchor"
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
>
2021-06-19 22:22:44 +02:00
<div class="element__container<% if $ContainerClass %> $ContainerClass<% end_if %>">
$Element
</div>
</div>