silverstripe-webpack/app/templates/Site/Elements/MapElement.ss

22 lines
451 B
Scheme
Raw Normal View History

2019-12-09 11:47:17 +01:00
<% 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 %>
2020-08-04 16:17:23 +02:00
<div class="col">
2019-12-09 11:47:17 +01:00
$forTemplate
</div>
<% end_loop %>
</div>
</div>
<% end_if %>