silverstripe-webpack/app/templates/DNADesign/Elemental/Models/ElementContent.ss
2021-06-19 22:22:44 +02:00

10 lines
229 B
Scheme

<div class="element__content<% if $Style %> $CssStyle<% end_if %>">
<% if $ShowTitle %>
<h2 class="element__title">$Title</h2>
<% end_if %>
<div class="element__html typography">
$HTML
</div>
</div>