summaryrefslogtreecommitdiffstats
path: root/core/themes/classy/templates/field/field--node--created.html.twig
diff options
context:
space:
mode:
Diffstat (limited to 'core/themes/classy/templates/field/field--node--created.html.twig')
-rw-r--r--core/themes/classy/templates/field/field--node--created.html.twig8
1 files changed, 3 insertions, 5 deletions
diff --git a/core/themes/classy/templates/field/field--node--created.html.twig b/core/themes/classy/templates/field/field--node--created.html.twig
index 6bc3939..72d5d67 100644
--- a/core/themes/classy/templates/field/field--node--created.html.twig
+++ b/core/themes/classy/templates/field/field--node--created.html.twig
@@ -19,14 +19,12 @@
* @see field.html.twig
*/
#}
-{% set field_name_class = field_name|clean_class %}
{%
set classes = [
'field',
- 'field-' ~ entity_type|clean_class ~ '--' ~ field_name_class,
- 'field-name-' ~ field_name_class,
- 'field-type-' ~ field_type|clean_class,
- 'field-label-' ~ label_display,
+ 'field--name-' ~ field_name|clean_class,
+ 'field--type-' ~ field_type|clean_class,
+ 'field--label-' ~ label_display,
]
%}
<span{{ attributes.addClass(classes) }}>