X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fcustomer%2Fshow.rhtml;h=f9b27a65719829f8779da8ca4d5634a0663bec25;hb=f055d1d571511ca016711e39d12a62f5f5a0ea59;hp=fe1aba6fbed62bdf276619d2b461c707d96278f4;hpb=064ef703594868b7ace2ebe131ba145e27aef6d2;p=cs356-p2-videostore.git diff --git a/app/views/customer/show.rhtml b/app/views/customer/show.rhtml index fe1aba6..f9b27a6 100644 --- a/app/views/customer/show.rhtml +++ b/app/views/customer/show.rhtml @@ -1,8 +1,8 @@ -<% for column in Customer.content_columns %> -

- <%= column.human_name %>: <%=h @customer.send(column.name) %> -

-<% end %> +

Name: <%=h @customer.name %>

+

Address: <%=h @customer.address %>

+

Email: <%=h @customer.email %>

+

Phone: <%=h @customer.phone %>

+

Balance: <%=h number_to_currency(@customer.debt) %>

<%= link_to 'Edit', :action => 'edit', :id => @customer %> | <%= link_to 'Back', :action => 'list' %>