silverstripe-webpack/app/templates/Site/Elements/MapElement.ss
2019-12-09 17:47:17 +07:00

22 lines
456 B
Scheme

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