X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=app%2Fviews%2Fcustomer%2Flist.rhtml;h=30ffdb604905fecff48f405156c4a5999bee702b;hb=56db4e1da35c068e247eadbd32edd0a09eb61127;hp=fb29a6587e7e1c03adef1fb50210c93db8780461;hpb=f09365a8d79a8a4a756fdba732bb753829df0df2;p=cs356-p2-videostore.git diff --git a/app/views/customer/list.rhtml b/app/views/customer/list.rhtml index fb29a65..30ffdb6 100644 --- a/app/views/customer/list.rhtml +++ b/app/views/customer/list.rhtml @@ -2,6 +2,7 @@ + <% for column in Customer.content_columns %> <% end %> @@ -9,6 +10,7 @@ <% for customer in @customers %> + <% for column in Customer.content_columns %> <% end %>
Customer ID<%= column.human_name %>
<%=h customer.id %><%=h customer.send(column.name) %>