Chris@0: {#
Chris@0: /**
Chris@0: * @file
Chris@0: * Default theme implementation of a container used to wrap child elements.
Chris@0: *
Chris@0: * Used for grouped form items. Can also be used as a theme wrapper for any
Chris@0: * renderable element, to surround it with a
and HTML attributes.
Chris@0: * See \Drupal\Core\Render\Element\RenderElement for more
Chris@0: * information on the #theme_wrappers render array property, and
Chris@0: * \Drupal\Core\Render\Element\container for usage of the container render
Chris@0: * element.
Chris@0: *
Chris@0: * Available variables:
Chris@0: * - attributes: HTML attributes for the containing element.
Chris@0: * - children: The rendered child elements of the container.
Chris@0: * - has_parent: A flag to indicate that the container has one or more parent
Chris@0: containers.
Chris@0: *
Chris@0: * @see template_preprocess_container()
Chris@0: *
Chris@0: * @ingroup themeable
Chris@0: */
Chris@0: #}
Chris@0: {%
Chris@0: set classes = [
Chris@0: has_parent ? 'js-form-wrapper',
Chris@0: has_parent ? 'form-wrapper',
Chris@0: ]
Chris@0: %}
Chris@0:
{{ children }}