X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ffcfb73e6a5dfd626b1d523accc42e7a6af5e8ed..4c8559157a16bf3d2781714fdec0275fb7f53ac6:/apps/workbench/app/views/projects/_show_contents_rows.html.erb diff --git a/apps/workbench/app/views/projects/_show_contents_rows.html.erb b/apps/workbench/app/views/projects/_show_contents_rows.html.erb index a6a371275b..5f0f60b0b2 100644 --- a/apps/workbench/app/views/projects/_show_contents_rows.html.erb +++ b/apps/workbench/app/views/projects/_show_contents_rows.html.erb @@ -26,7 +26,9 @@ - <%= 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 %>