input--submit.html.twig
Same filename in other branches
Theme override for an 'input' #type form element.
Available variables:
- attributes: A list of HTML attributes for the input element.
- children: Optional additional rendered elements.
See also
File
-
core/
modules/ views/ tests/ themes/ views_test_theme/ templates/ input--submit.html.twig
View source
- {#
- /**
- * @file
- * Theme override for an 'input' #type form element.
- *
- * Available variables:
- * - attributes: A list of HTML attributes for the input element.
- * - children: Optional additional rendered elements.
- *
- * @see template_preprocess_input()
- */
- #}
- <button{{ attributes }}>attributes.value</button>{{ children }}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.