checkboxes.html.twig in Zircon Profile 8
Same filename in this branch
Same filename and directory in other branches
Default theme implementation for a 'checkboxes' #type form element.
Available variables
- attributes: A list of HTML attributes for the wrapper element.
- children: The rendered checkboxes.
See also
File
core/modules/system/templates/checkboxes.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for a 'checkboxes' #type form element.
- *
- * Available variables
- * - attributes: A list of HTML attributes for the wrapper element.
- * - children: The rendered checkboxes.
- *
- * @see template_preprocess_checkboxes()
- *
- * @ingroup themeable
- */
- @todo: remove this file once https://www.drupal.org/node/1819284 is resolved.
- This is identical to core/modules/system/templates/container.html.twig
- #}
- <div{{ attributes.addClass('form-checkboxes') }}>{{ children }}</div>