Search Results

<% if @customers.empty? %>

Sorry, there were no results

<% else %> <% for column in Customer.content_columns %> <% end %> <% for customer in @customers %> <% for column in Customer.content_columns %> <% end %> <% end %>
Customer ID<%= column.human_name %>
<%=h customer.id %><%=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?', :post => true %>
<% end %>