X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6db406e9a2fc78ed204460deb73151f44d94b030..d65963976174bd9c94fdb0b91eeb8a281f01e7b3:/apps/workbench/app/views/application/_arvados_attr_value.html.erb
diff --git a/apps/workbench/app/views/application/_arvados_attr_value.html.erb b/apps/workbench/app/views/application/_arvados_attr_value.html.erb
index 52c46fbe2f..3df892fd5a 100644
--- a/apps/workbench/app/views/application/_arvados_attr_value.html.erb
+++ b/apps/workbench/app/views/application/_arvados_attr_value.html.erb
@@ -3,7 +3,7 @@
<%= message %>
<% end %>
<% else %>
- <% if obj.attribute_editable?(attr) and (!defined?(editable) || editable) %>
+ <% if attr and obj.attribute_editable?(attr) and (!defined?(editable) || editable) %>
<% if resource_class_for_uuid(attrvalue, {referring_object: obj, referring_attr: attr}) %>
<%= link_to_if_arvados_object attrvalue, {referring_attr: attr, referring_object: obj, with_class_name: true, friendly_name: true} %>