From 979aa417aa722c5e550219bff90ec757ac098a0f Mon Sep 17 00:00:00 2001 From: jessib Date: Tue, 23 Jul 2013 13:26:55 -0700 Subject: Some clean-up of billing display. --- billing/app/views/customer/edit.html.haml | 9 +++++---- 1 file changed, 5 insertions(+), 4 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 76c678b..8a232c5 100644 --- a/billing/app/views/customer/edit.html.haml +++ b/billing/app/views/customer/edit.html.haml @@ -13,10 +13,11 @@ %dd= f.text_field :phone - if @default_cc = # todo, as they will need a credit card, so not sure about conditional? - %dt Stored Credit Card + %dt= t(:stored_credit_card) %dd = @default_cc.masked_number - = link_to 'Change credit card', edit_credit_card_info_path(:id => @default_cc.token), :class => :btn + = link_to t(:change_credit_card), edit_credit_card_info_path(:id => @default_cc.token), :class => :btn = hidden_field_tag :tr_data, @tr_data - = f.submit 'Save Customer Info', :class => :btn -= link_to 'Show Customer Information', show_customer_path(@customer), :class=> :btn + .form-actions + = f.submit t(:save_customer_info), :class => 'btn btn-primary' + = link_to t(:cancel), show_customer_path(@customer), :class=> :btn -- cgit v1.2.3