From 0afc41c8d27c42f33040955d6d25ad92f9fbd73d Mon Sep 17 00:00:00 2001 From: "Ira W. Snyder" Date: Wed, 21 Nov 2007 21:21:52 -0800 Subject: [PATCH] Add customer id numbers to the listing This adds a table column for customer id numbers while listing customers, just for convenience. Signed-off-by: Ira W. Snyder --- app/views/customer/list.rhtml | 2 ++ 1 file changed, 2 insertions(+) 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 %> -- 2.34.1
Customer ID<%= column.human_name %>
<%=h customer.id %><%=h customer.send(column.name) %>