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

12 lines
358 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
2023-05-13 04:11:05 +02:00
<%-- if $LinkedElement %> $LinkedElement.SimpleClassName.LowerCase<% end_if --%>
2021-06-19 22:22:44 +02:00
<% 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>