summaryrefslogtreecommitdiff
path: root/engines/billing/app/views/customer/new.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'engines/billing/app/views/customer/new.html.haml')
-rw-r--r--engines/billing/app/views/customer/new.html.haml20
1 files changed, 0 insertions, 20 deletions
diff --git a/engines/billing/app/views/customer/new.html.haml b/engines/billing/app/views/customer/new.html.haml
deleted file mode 100644
index 81185e4..0000000
--- a/engines/billing/app/views/customer/new.html.haml
+++ /dev/null
@@ -1,20 +0,0 @@
-%h2.mbs New Customer
-%br/
-= form_tag new_customer_path, id: "checkout-form" do
- - if current_user and !current_user.has_payment_info?
- = render 'subs_form' unless current_user.is_anonymous?
- %br/
- %p
- = t(:donation_info)
- %div{:id => "payment-form" }
- %div{:id => "coinbase-container-id" }
- %input{:name => "amount", :placeholder => "Enter amount", :type => "text"}
- %input.btn.btn-primary{:type => "submit", :value => "Donate"}
-%script{:src => "https://js.braintreegateway.com/v2/braintree.js"}
-:javascript
- var clientToken = "#{@client_token}";
- braintree.setup(clientToken, "dropin", {
- container: "payment-form",
- form: "checkout-form",
- coinbase: { container: "coinbase-container-id" }
- });