From d04f50c4b43d780907772d71ccd6d2e003521d2a Mon Sep 17 00:00:00 2001 From: Kim Nguyen Date: Thu, 12 Dec 2024 14:26:43 -0500 Subject: [PATCH] Provide default value data type class. #2248 --- application/view/common/resource-values.phtml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/view/common/resource-values.phtml b/application/view/common/resource-values.phtml index 93c086420..859f963ce 100644 --- a/application/view/common/resource-values.phtml +++ b/application/view/common/resource-values.phtml @@ -52,6 +52,8 @@ foreach ($values as $term => $propertyData): $class[] = $escape($value->valueResource()->resourceName()); } elseif ('uri' == $valueType) { $class[] = 'uri'; + } else { + $class[] = $escape(str_replace(['_', ':'], '-', $valueType)); } ?>