webform-horizontal-rule.html.twig in Webform 6.x
Same filename and directory in other branches
Default theme implementation of a Webform horizontal_rule element.
Available variables:
- attributes: HTML attributes for the horizontal_rule element.
See also
1 theme call to webform-horizontal-rule.html.twig
- WebformHorizontalRule::getInfo in src/
Element/ WebformHorizontalRule.php - Returns the element properties for this element.
File
templates/webform-horizontal-rule.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation of a Webform horizontal_rule element.
- *
- * Available variables:
- * - attributes: HTML attributes for the horizontal_rule element.
- *
- * @see template_preprocess_webform_horizontal_rule()
- *
- * @ingroup themeable
- */
- #}
- {{ attach_library('webform/webform.element.horizontal_rule') }}
- {%
- set classes = [
- 'webform-horizontal-rule',
- ]
- %}
- <hr{{ attributes.addClass(classes) }} />