Skip to content
Snippets Groups Projects
Commit 364a28a3 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-2432: Fixing javascript loading in field elements

parent f2530bcb
No related branches found
No related tags found
No related merge requests found
......@@ -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" %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment