silverstripe-webpack/app/templates/DNADesign/Elemental/Models/ElementContent.ss

10 lines
229 B
Scheme
Raw Normal View History

2021-06-19 22:22:44 +02:00
<div class="element__content<% if $Style %> $CssStyle<% end_if %>">
<% if $ShowTitle %>
2021-03-21 21:06:35 +01:00
<h2 class="element__title">$Title</h2>
<% end_if %>
2021-03-21 21:06:35 +01:00
<div class="element__html typography">
$HTML
</div>
</div>