You are here

checkboxes--gin-lb.html.twig in Gin Layout Builder 1.0.x

Theme override for a 'checkboxes' #type form element.

Available variables

  • attributes: A list of HTML attributes for the wrapper element.
  • children: The rendered checkboxes.

File

templates/form/checkboxes--gin-lb.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for a 'checkboxes' #type form element.
  5. *
  6. * Available variables
  7. * - attributes: A list of HTML attributes for the wrapper element.
  8. * - children: The rendered checkboxes.
  9. *
  10. * @see template_preprocess_checkboxes()
  11. */
  12. @todo: remove this file once https://www.drupal.org/node/1819284 is resolved.
  13. This is identical to core/modules/system/templates/container.html.twig
  14. #}
  15. <div{{ glb_classes(attributes.addClass('form-checkboxes')) }}>{{ children }}</div>