From a27c63c12a31bdc07ef781808fe27548a122f11c Mon Sep 17 00:00:00 2001 From: Andre D Date: Mon, 17 Jun 2013 12:24:25 -0700 Subject: [PATCH] payments: Add an amount field to the stripe payment form. --- r2/r2/public/static/css/reddit.less | 2 +- r2/r2/templates/goldpayment.html | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/r2/r2/public/static/css/reddit.less b/r2/r2/public/static/css/reddit.less index a871f9080..da5cd69c6 100755 --- a/r2/r2/public/static/css/reddit.less +++ b/r2/r2/public/static/css/reddit.less @@ -6638,7 +6638,7 @@ body.gold .buttons li.comment-save-button { display: inline; } white-space:nowrap; font-size:smaller; } - +#stripe-payment .credit-card-amount { text-align: left; } #stripe-payment th label { display:inline; } #stripe-payment td input { font-size:small; diff --git a/r2/r2/templates/goldpayment.html b/r2/r2/templates/goldpayment.html index 49c4413a8..49553862d 100644 --- a/r2/r2/templates/goldpayment.html +++ b/r2/r2/templates/goldpayment.html @@ -156,6 +156,10 @@
${_('Stripe is PCI compliant and your credit card information is sent directly to them.')}
+ + + +
${thing.price}