silverstripe-elemental-basics/templates/A2nt/ElementalBasics/Elements/MapElement.ss
2021-06-08 19:53:38 +07:00

24 lines
543 B
Scheme
Executable File

<% if $ShowTitle %>
<h2 class="element__title">$Title</h2>
<% end_if %>
<% if $Content %>
<div class="element__html typography">$Content</div>
<% end_if %>
<div class="element__content">
<% include Objects\Map %>
<% if $Locations %>
<div class="locations">
<div class="row">
<% loop $Locations %>
<div class="col">
$forTemplate
</div>
<% end_loop %>
</div>
</div>
<% end_if %>
</div>