{#
/**
 * @file
 * A wrapper for multiple checkbox input elements.
 *
 * Available variables
 * - attributes: A list of HTML attributes for the wrapper element.
 * - children: The rendered checkboxes.
 *
 * @see Drupal's checkboxes.html.twig
 */
#}

{#
 !!!! WARNING !!!!
 This template is currently extended verbatim in form-radios.twig.  If you need
 to add checkbox-specific styling here, please refactor radios first-- consider
 using something like a shared "container.twig" file (see Drupal form templates).
#}

{% set attributes = union_attributes(attributes | default({})) %}

{% set classes = [
  'cu-input-list'
] %}

<div{{ attributes.addClass(classes) }}>{{ children }}</div>
