<% if controller.respond_to?(:bulk) %>
<%= check_box_tag "selected_item_ids[]", item.id, false, :class => "action-select" %>
|
<% end %>
<% table_fields_for_item(item, fields).each_with_index do |field, index| %>
<%= field %>
<% if index.zero? %>
<%= table_actions(model, item, association_name) %>
<% end %>
|
<% end %>
<% end %>