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

24 lines
543 B
Scheme
Raw Normal View History

2019-12-09 11:47:17 +01:00
<% if $ShowTitle %>
2021-03-21 21:06:35 +01:00
<h2 class="element__title">$Title</h2>
2019-12-09 11:47:17 +01:00
<% end_if %>
<% if $Content %>
2021-03-21 21:06:35 +01:00
<div class="element__html typography">$Content</div>
2019-12-09 11:47:17 +01:00
<% end_if %>
2021-03-21 21:06:35 +01:00
<div class="element__content">
<% include Objects\Map %>
2019-12-09 11:47:17 +01:00
2021-03-21 21:06:35 +01:00
<% if $Locations %>
<div class="locations">
<div class="row">
<% loop $Locations %>
<div class="col">
$forTemplate
</div>
<% end_loop %>
</div>
2019-12-09 11:47:17 +01:00
</div>
2021-03-21 21:06:35 +01:00
<% end_if %>
</div>