diff options
author | jessib <jessib@riseup.net> | 2013-07-23 13:26:55 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-07-23 13:26:55 -0700 |
commit | 979aa417aa722c5e550219bff90ec757ac098a0f (patch) | |
tree | 385b89ac8b837f7230c48b92f2f30b72d0da9d76 /billing/app/views/customer/edit.html.haml | |
parent | 465415b9806a2de258d12df10213601eba87d515 (diff) |
Some clean-up of billing display.
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 |