summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhkirsman2019-01-09 16:20:40 (GMT)
committerMark Carver2019-01-09 16:20:40 (GMT)
commit51e6d0b2b7f8f4b9e324694c252d84de440de45a (patch)
tree656540edcd3835fc87cbe97904129569dba716df
parent26c83e1eab77e0440e351bf8be23085401925d9b (diff)
Issue #3024796 by hkirsman: Input description div is missing classes if put before inputHEAD8.x-3.x
-rw-r--r--templates/input/form-element.html.twig2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/input/form-element.html.twig b/templates/input/form-element.html.twig
index 7d1d2e8..8e2cbd7 100644
--- a/templates/input/form-element.html.twig
+++ b/templates/input/form-element.html.twig
@@ -76,7 +76,7 @@
{% endif %}
{% if description_display == 'before' and description.content %}
- <div{{ description.attributes }}>
+ <div{{ description.attributes.addClass(description_classes) }}>
{{ description.content }}
</div>
{% endif %}