Listing file_infos

<% for column in FileInfo.content_columns %> <% end %> <% for file_info in @file_infos %> <% for column in FileInfo.content_columns %> <% end %> <% end %>
<%= column.human_name %>
<%=h file_info.send(column.name) %><%= link_to 'Show', :action => 'show', :id => file_info %> <%= link_to 'Edit', :action => 'edit', :id => file_info %> <%= link_to 'Destroy', { :action => 'destroy', :id => file_info }, :confirm => 'Are you sure?', :method => :post %>
<%= link_to 'Previous page', { :page => @file_info_pages.current.previous } if @file_info_pages.current.previous %> <%= link_to 'Next page', { :page => @file_info_pages.current.next } if @file_info_pages.current.next %>