From c2330394daf004974656d8240ca6c83567401595 Mon Sep 17 00:00:00 2001 From: jessib Date: Tue, 23 Apr 2013 11:47:09 -0700 Subject: Basic functionality to edit credit card on file. --- billing/app/views/customer/edit.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'billing/app/views/customer/edit.html.haml') diff --git a/billing/app/views/customer/edit.html.haml b/billing/app/views/customer/edit.html.haml index 686c551..2104b09 100644 --- a/billing/app/views/customer/edit.html.haml +++ b/billing/app/views/customer/edit.html.haml @@ -14,9 +14,9 @@ - if @default_cc %ul %li - Default Credit Card + Stored Credit Card = @default_cc.masked_number - = # (#{link_to @default_cc.token, edit_credit_card_info_path(:id => @default_cc.token)}) + = link_to 'Change credit card', edit_credit_card_info_path(:id => @default_cc.token) %li Transaction History = render(:partial => "transaction", :collection => @transactions) -- cgit v1.2.3