radios.html.twig in Drupal 8
Same filename in this branch
- 8 core/modules/system/templates/radios.html.twig
- 8 core/themes/classy/templates/form/radios.html.twig
- 8 core/themes/claro/templates/form/radios.html.twig
- 8 core/themes/stable/templates/form/radios.html.twig
- 8 core/themes/claro/templates/classy/form/radios.html.twig
- 8 core/themes/seven/templates/classy/form/radios.html.twig
- 8 core/themes/bartik/templates/classy/form/radios.html.twig
- 8 core/profiles/demo_umami/themes/umami/templates/classy/form/radios.html.twig
Theme override for a 'radios' #type form element.
Available variables
- attributes: A list of HTML attributes for the wrapper element.
- children: The rendered radios.
See also
File
core/themes/claro/templates/classy/form/radios.html.twigView source
- {#
- /**
- * @file
- * Theme override for a 'radios' #type form element.
- *
- * Available variables
- * - attributes: A list of HTML attributes for the wrapper element.
- * - children: The rendered radios.
- *
- * @see template_preprocess_radios()
- */
- #}
- <div{{ attributes.addClass('form-radios') }}>{{ children }}</div>