<% if objects.empty? %>

No <%= controller.controller_name.humanize.downcase %> to display.

<% else %> <% attr_blacklist = ' created_at modified_at modified_by_user_uuid modified_by_client_uuid updated_at owner_uuid group_class properties' %> <% show_home_link = current_user.is_admin and controller.model_class == User %> <%= render partial: "paging", locals: {results: objects, object: @object} %> <%= form_tag do |f| %> <% if objects.first and objects.first.class.goes_in_projects? %> <% end %> <% objects.first.attributes_for_display.each do |attr, attrvalue| %> <% next if attr_blacklist.index(" "+attr) %> <% end %> <% if show_home_link %> <% end %> <% objects.each do |object| %> <% if objects.first.class.goes_in_projects? %> <% end %> <% object.attributes_for_display.each do |attr, attrvalue| %> <% next if attr_blacklist.index(" "+attr) %> <% end %> <% if show_home_link %> <% end %> <% end %>
<%= controller.model_class.attribute_info[attr.to_sym].andand[:column_heading] or attr.sub /_uuid/, '' %>
<%= render :partial => "selection_checkbox", :locals => {:object => object} %> <%= render :partial => "show_object_button", :locals => {object: object, size: 'xs'} %> <% if attr == 'uuid' %> <%= attrvalue %> <% else %> <%= link_to_if_arvados_object attrvalue, {referring_attr: attr, referring_object: object, with_class_name: true, friendly_name: true} %> <% end %> <%= link_to 'Home', "/projects/#{object.uuid}" %> <%= render partial: 'delete_object_button', locals: {object:object} %>
<% end %> <%= render partial: "paging", locals: {results: objects, object: @object} %> <% end %>