diff --git a/templates/form/form-element.html.twig b/templates/form/form-element.html.twig index bcbdb4869bc8ea7006687c6d50d8691f6a69a3ae..88685000a06a12d62885d8716596b5276c231c14 100644 --- a/templates/form/form-element.html.twig +++ b/templates/form/form-element.html.twig @@ -44,16 +44,4 @@ * @see template_preprocess_form_element() */ #} -{% - set classes = [ - 'js-form-item', - 'form-item', - 'js-form-type-' ~ type|clean_class, - 'form-item-' ~ name|clean_class, - 'js-form-item-' ~ name|clean_class, - title_display not in ['after', 'before'] ? 'form-no-label', - disabled == 'disabled' ? 'form-disabled', - errors ? 'form-item--error', - ] -%} {% include "@atoms/05-forms/_form-element.twig" %}