input--submit.html.twig in Drupal 9
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.twigView 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 }}