You are here

field-group-easy-responsive-tabs.html.twig in Field Group: Easy Responsive Tabs to Accordion 8

Default theme implementation for tabs.

Available variables

  • attributes: A list of HTML attributes for the wrapper element.
  • children: The rendered children.

File

templates/field-group-easy-responsive-tabs.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for tabs.
  5. *
  6. * Available variables
  7. * - attributes: A list of HTML attributes for the wrapper element.
  8. * - children: The rendered children.
  9. *
  10. * @see template_preprocess_field_group_easy_responsive_tabs()
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. <div {{ attributes }}>
  16. <ul {{ navigation_attributes }}>
  17. {% for item in navigation %}
  18. <li>{{ item }}</li>
  19. {% endfor %}
  20. </ul>
  21. <div {{ container_attributes }}>
  22. {{ children }}
  23. </div>
  24. </div>