<% content_type.columns_for_index.each_with_index do |column, i| %> <% end %> <% if (content_type.model_class.respond_to?(:created_by)) %> <% end %> <% if content_type.model_class.connectable? %> <% end %> <% @blocks.each do |block| %> <% content_type.columns_for_index.each_with_index do |column, i| %> <% end %> <% if (content_type.model_class.respond_to?(:created_by)) %> <% end %> <% if content_type.model_class.connectable? %> <% end %> <% end %>
<%# # Only single select for time being. %> <% if column[:order] %> <%= link_to column[:label], sortable_column_path(content_type, column[:order]) %> <% else %> <%= column[:label] %> <% end %> Created ByUsed
<%= check_box_tag 'content_id[]', block.id %> <%= link_to_if(i == 0, block.send(column[:method]), edit_engine_aware_path(block)) %> <%= draft_icon_tag(block) if i == 0 %> <%= block.created_by.try(:full_name) %><%= block.connected_pages.size %>