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

18 lines
431 B
Scheme
Executable File

<% if $Members %>
<div class="element__content<% if $Style %> $CssStyle<% end_if %>">
<% if $ShowTitle %>
<h2 class="element__title">$Title</h2>
<% end_if %>
<div class="element__content">
<div class="row">
<% loop $Members %>
<div class="col-sm-3">
<% include Objects\HCard %>
</div>
<% end_loop %>
</div>
</div>
</div>
<% end_if %>