field-group-html-element--node--frontpage--group-pricing.html.twig 812 B

12345678910111213141516171819202122232425262728293031323334
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a fieldgroup html element.
  5. *
  6. * Available variables:
  7. * - title: Title of the group.
  8. * - title_element: Element to wrap the title.
  9. * - children: The children of the group.
  10. * - wrapper_element: The html element to use
  11. * - attributes: A list of HTML attributes for the group wrapper.
  12. *
  13. * @see template_preprocess_field_group_html_element()
  14. *
  15. * @ingroup themeable
  16. */
  17. #}
  18. <{{ wrapper_element }} {{ attributes }}>
  19. {% if title %}
  20. <{{ title_element }}{{ title_attributes }}>
  21. <a href="/pricing" @click.prevent="onClickLink">
  22. {{ title }}
  23. </a>
  24. </{{ title_element }}>
  25. {% endif %}
  26. {% if collapsible %}
  27. <div class="field-group-wrapper">
  28. {% endif %}
  29. {{children}}
  30. {% if collapsible %}
  31. </div>
  32. {% endif %}
  33. </{{ wrapper_element }}>