diff options
Diffstat (limited to 'billing/app/views/customer/edit.html.haml')
-rw-r--r-- | billing/app/views/customer/edit.html.haml | 9 |
1 files changed, 5 insertions, 4 deletions
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 |