10078: preload collections and links during dashboard display
[arvados.git] / apps / workbench / app / views / projects / _show_contents_rows.html.erb
index a6a371275b35b54782c5e647eb611efd887090f7..5f0f60b0b26a18d2f6a5285144efdb8c96e080a4 100644 (file)
@@ -26,7 +26,9 @@
     </td>
 
     <td>
-      <%= render_editable_attribute (name_link || object), 'name', nil, {tiptitle: 'rename'} %>
+      <% if object.respond_to?(:name) %>
+        <%= render_editable_attribute (name_link || object), 'name', nil, {}, {tiptitle: 'rename'} %>
+      <% end %>
     </td>
 
     <td class="arv-description-in-table">