You are here

accordian-menus-block.html.twig in Accordion Menus 8.4

<div class="accordion_menus_block_container {{ elements.menu_name }}">
{% for element in elements.items %}
  <h2 class="accordion-title">
    <a href="#">{{ element.title }}</a>
  </h2>
  <div class="accordion_menus-block-content">
    {{ element.content }}
  </div>
{% endfor %}
</div>

File

templates/accordian-menus-block.html.twig
View source
  1. <div class="accordion_menus_block_container {{ elements.menu_name }}">
  2. {% for element in elements.items %}
  3. <h2 class="accordion-title">
  4. <a href="#">{{ element.title }}</a>
  5. </h2>
  6. <div class="accordion_menus-block-content">
  7. {{ element.content }}
  8. </div>
  9. {% endfor %}
  10. </div>