Listing customers

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