% yield_name = "table_headers_#{model}_#{rand(100)}" %>
<% content_for yield_name do %>
<% if controller.respond_to?(:bulk) %>
<% end %>
<%= check_box_tag "action-toggle", "", false, :class => "action-toggle" %>
<% end %>
<% headers.each do |header| %>
<%= header %>
<% end %>
<%= Typus::I18n.t('Actions') %>
<%= check_box_tag "selected_item_ids[]", item.id, false, :class => "action-select" %> | <% end %> <% table_fields_for_item(item, fields).each do |field| %><%= field %> | <% end %>