You are here

webform-element-help.html.twig in Webform 6.x

Same filename and directory in other branches
  1. 8.5 templates/webform-element-help.html.twig

Theme implementation for webform element help

Available variables

  • element: form element
  • help: Help content.
  • help_icon: Help icon.

File

templates/webform-element-help.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme implementation for webform element help
  5. *
  6. * Available variables
  7. * - element: form element
  8. * - help: Help content.
  9. * - help_icon: Help icon.
  10. *
  11. * @see template_preprocess_webform_element_help()
  12. *
  13. * @ingroup themeable
  14. */
  15. #}
  16. {% spaceless %}
  17. {{ attach_library('webform/webform.element.help') }}
  18. <span{{ attributes }}><span aria-hidden="true">?</span></span>
  19. {% endspaceless %}