custom/plugins/MadToggle/src/Resources/views/storefront/element/cms-element-toggle.html.twig line 1

Open in your IDE?
  1. {% block element_toggle %}
  2.     {%  set config = element.fieldConfig.elements %}
  3.     <div class="toggle">
  4.         <div class="toggle-item" id="toggle-item-{{ config.title.value|lower|replace({' ': '-'}) }}">
  5.             <div class="toggle-item-title" data-toggle="collapse" href="#toggle-{{ config.title.value|lower|replace({' ': '-'}) }}">
  6.                 {{ config.title.value }}
  7.                 {% sw_icon "angle-circled" style {'pack':'bodymed'} %}
  8.             </div>
  9.             <div class="toggle-item-desc collapse" id="toggle-{{ config.title.value|lower|replace({' ': '-'}) }}">
  10.                 {{ config.text.value|raw }}
  11.             </div>
  12.         </div>
  13.     </div>
  14. {% endblock %}