Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<form action-xhr="https://ampedupkids.com/OrderTrike" method="post">
<fieldset>
<amp-selector layout="container" class="colorPicker" name="color">
<!-- color picker -->
</amp-selector>
<div class="orderform">
<!-- qty select and BUY button -->
</div>
</fieldset>
<div submit-success>
<template id="payTemplate" type="amp-mustache">
<amp-iframe src="ampedupkids.com/PaymentRequestAPI.html" allowpaymentrequest
sandbox="allow-scripts allow-same-origin allow-modals allow-top-navigation">
</amp-iframe>
</template>
</div>
<div submit-error>
<template type="amp-mustache">
<div class="orderError">
<!-- error modal -->
</div>
</template>
</div>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment