You are here

dropdown.html.twig in Open Social 8.5

Theme override for a dropdown element.

Available variables:

  • attributes: HTML attributes for the dropdown tag.
  • options: The option element children.

File

modules/custom/dropdown/templates/dropdown.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for a dropdown element.
  5. *
  6. * Available variables:
  7. * - attributes: HTML attributes for the dropdown tag.
  8. * - options: The option element children.
  9. *
  10. * @see template_preprocess_dropdown()
  11. */
  12. #}
  13. <div{{ attributes }}>
  14. {{ children }}
  15. </div>