payments: Add an amount field to the stripe payment form.

This commit is contained in:
Andre D
2013-06-17 12:24:25 -07:00
committed by Chad Birch
parent 5f3d7c0d4b
commit a27c63c12a
2 changed files with 5 additions and 1 deletions

View File

@@ -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;

View File

@@ -156,6 +156,10 @@
<div>${_('Stripe is PCI compliant and your credit card information is sent directly to them.')}</div>
</div>
<table class="credit-card-input">
<tr>
<th><label>${_('amount')}</label></th>
<th class="credit-card-amount">${thing.price}</th>
</tr>
<tr>
<th><label>${_('name')}</label></th>
<td><input type="text" autocomplete="off" class="card-name"></td>