X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/98f0657745f2f38c19047ef9039c52c1b0fe0659..ad8e91c2c580b2a6188fccafb05672b7130ec931:/apps/workbench/app/views/application/_selection_checkbox.html.erb diff --git a/apps/workbench/app/views/application/_selection_checkbox.html.erb b/apps/workbench/app/views/application/_selection_checkbox.html.erb index cb0ec829e7..4d47d892c5 100644 --- a/apps/workbench/app/views/application/_selection_checkbox.html.erb +++ b/apps/workbench/app/views/application/_selection_checkbox.html.erb @@ -1,6 +1,8 @@ +<%if object %> <%= check_box_tag 'uuids[]', object.uuid, false, { :class => 'persistent-selection', :friendly_type => object.class.name, :friendly_name => object.selection_label, :href => "#{url_for controller: object.class.name.tableize, action: 'show', id: object.uuid }" } %> +<% end %>