You are here

webform-horizontal-rule.html.twig in Webform 6.x

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

Default theme implementation of a Webform horizontal_rule element.

Available variables:

  • attributes: HTML attributes for the horizontal_rule element.

File

templates/webform-horizontal-rule.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation of a Webform horizontal_rule element.
  5. *
  6. * Available variables:
  7. * - attributes: HTML attributes for the horizontal_rule element.
  8. *
  9. * @see template_preprocess_webform_horizontal_rule()
  10. *
  11. * @ingroup themeable
  12. */
  13. #}
  14. {{ attach_library('webform/webform.element.horizontal_rule') }}
  15. {%
  16. set classes = [
  17. 'webform-horizontal-rule',
  18. ]
  19. %}
  20. <hr{{ attributes.addClass(classes) }} />