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

9 lines
266 B
Scheme
Raw Normal View History

2020-05-14 14:06:58 +02:00
<% if $ShowTitle %>
<h2 class="list-element__title">$Title</h2>
<% end_if %>
<div class="accordion-element__container" data-listelement-count="$Elements.Elements.Count">
<div id="ElementAccordion{$Elements.ID}" class="accordion">
$Accordion
</div>
</div>