<table class="table table-condensed arv-index">
<thead>
<tr>
- <th></th>
+ <% if objects.first and objects.first.class.goes_in_projects? %>
+ <th></th>
+ <% end %>
<th></th>
<% objects.first.attributes_for_display.each do |attr, attrvalue| %>
<% next if attr_blacklist.index(" "+attr) %>
<tbody>
<% objects.each do |object| %>
<tr data-object-uuid="<%= object.uuid %>">
+ <% if objects.first.class.goes_in_projects? %>
+ <td>
+ <%= render :partial => "selection_checkbox", :locals => {:object => object} %>
+ </td>
+ <% end %>
<td>
- <%= render :partial => "selection_checkbox", :locals => {:object => object} %>
- </td>
- <td>
- <%= render :partial => "show_object_button", :locals => {object: object} %>
+ <%= render :partial => "show_object_button", :locals => {object: object, size: 'xs'} %>
</td>
<% object.attributes_for_display.each do |attr, attrvalue| %>