mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
24 lines
543 B
Scheme
Executable File
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>
|