projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
5826: use present? instead of !empty?
[arvados.git]
/
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 a6a371275b35b54782c5e647eb611efd887090f7..c8b2e2e46dfde8277ddb14175289191b8bed3971 100644
(file)
--- 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
@@
</td>
<td>
</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">
</td>
<td class="arv-description-in-table">