'
- html += ''+' : '
- html += display_attribute_value(v, attr)
+ if attr.linked_custom_metadata? || attr.linked_custom_metadata_multi?
+ html += content_tag(:span, class: 'linked_custom_metdata_display') do
+ folding_panel(attr.label, true, id:attr.title) do
+ display_attribute_value(v, attr)
+ end
+ end
+ else
+ html += ''+' : '
+ html += display_attribute_value(v, attr)
+ end
html += '
'
end
html += ''
diff --git a/app/views/custom_metadata/_custom_metadata_attribute_values.html.erb b/app/views/custom_metadata/_custom_metadata_attribute_values.html.erb
index 33093b4532..04f7cf0e9d 100644
--- a/app/views/custom_metadata/_custom_metadata_attribute_values.html.erb
+++ b/app/views/custom_metadata/_custom_metadata_attribute_values.html.erb
@@ -9,16 +9,21 @@
<% resource.custom_metadata.custom_metadata_attributes.each do |attribute| %>
<% unless resource.custom_metadata.data[attribute.title].blank? %>
-