eleven-8.x-1.0-beta5/eleven/templates/base/container/container.html.twig
eleven/templates/base/container/container.html.twig
{% set remove_classes = [ ] %} {% set classes = [ has_parent ? 'js-form-wrapper', attributes.id =='edit-header' ? 'view-filters-actions', attributes.id =='edit-header' ? 'form-item-smallvariant', attributes.hasclass('filter-wrapper') ? 'clearfix', attributes.hasclass('entity-meta') ? 'editform-sidebar', attributes.hasclass('field') ? 'editform-sidebar', attributes.hasclass('compact-link') ? 'pagewidth', attributes.hasclass('views-list-section') and attributes.hasclass('enabled') ? 'cards--enabled', attributes.hasclass('views-list-section') and attributes.hasclass('disabled') ? 'cards--disabled', ] %} {# attributes.hasClass('filter-guidelines') ? 'hidden':'', #} {# @TODO: test on classes if we wanna show this template #} <div{{ attributes.removeClass(remove_classes).addClass(classes) }}> {{ children }} </div>