Skip to content

Instantly share code, notes, and snippets.

@ArunGupta25
Created July 1, 2012 00:31
Show Gist options
  • Save ArunGupta25/3026209 to your computer and use it in GitHub Desktop.
Save ArunGupta25/3026209 to your computer and use it in GitHub Desktop.
<% form_tag("/stripe", :method => "POST", :remote => true), :id => "payment-form" %>
<div class="form-row">
<label>Card Number</label>
<input type="text" size="20" autocomplete="off" class="card-number"/>
</div>
<div class="form-row">
<label>CVC</label>
<input type="text" size="4" autocomplete="off" class="card-cvc"/>
</div>
<div class="form-row">
<label>Expiration (MM/YYYY)</label>
<input type="text" size="2" class="card-expiry-month"/>
<span> / </span>
<input type="text" size="4" class="card-expiry-year"/>
</div>
<button type="submit" class="submit-button">Submit Payment</button>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment