move payment button into choice page and make a link
This commit is contained in:
@@ -3,12 +3,27 @@
|
||||
<form class="choice-discourse-form form-horizontal">
|
||||
|
||||
<div>
|
||||
<div>
|
||||
{{text-field}}
|
||||
</div>
|
||||
<div>
|
||||
<button class='btn btn-primary' {{action "someThing"}}>something</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<h2>Stripe Payments</h2>
|
||||
|
||||
<form action="/choice/stripe">
|
||||
<script
|
||||
src="https://checkout.stripe.com/checkout.js" class="stripe-button"
|
||||
data-key="pk_test_b8RmhzlL8QPizJRqOrKF3JEV"
|
||||
data-name="CHOICE"
|
||||
data-description="Consumer Defender"
|
||||
data-image="https://cloud.githubusercontent.com/assets/64749/18696451/99eeb440-7ffc-11e6-8cab-905a8ea27fb6.png"
|
||||
data-locale="auto"
|
||||
data-zip-code="false"
|
||||
data-currency="aud"
|
||||
data-label="Become a Consumer Defender"
|
||||
data-email="{{model.email}}"
|
||||
>
|
||||
</script>
|
||||
</form>
|
||||
|
||||
@@ -1,17 +1,2 @@
|
||||
|
||||
|
||||
<form action="/choice/stripe">
|
||||
<script
|
||||
src="https://checkout.stripe.com/checkout.js" class="stripe-button"
|
||||
data-key="pk_test_b8RmhzlL8QPizJRqOrKF3JEV"
|
||||
data-name="CHOICE"
|
||||
data-description="Consumer Defender"
|
||||
data-image="https://cloud.githubusercontent.com/assets/64749/18696451/99eeb440-7ffc-11e6-8cab-905a8ea27fb6.png"
|
||||
data-locale="auto"
|
||||
data-zip-code="false"
|
||||
data-currency="aud"
|
||||
data-label="Become a Consumer Defender"
|
||||
data-email="{{model.email}}"
|
||||
>
|
||||
</script>
|
||||
</form>
|
||||
<a href="/choice/form">Choice page</a>
|
||||
|
||||
Reference in New Issue
Block a user