Skip to content

Instantly share code, notes, and snippets.

@ornerymoose
Created May 15, 2012 14:03
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ornerymoose/2701998 to your computer and use it in GitHub Desktop.
Can't get jquery to work correctly, indentation is fine in form but seems off here.
%h3 Payment Method
.payment-split
.pay-check
.fields#check_checkbox
= f.label :check, "Check"
= f.check_box :check
.fields#check_description
%p
%strong Payable to:
%p CouponTrade, Inc.
%p 214 West Ohio Street, Suite 4
%p Chicago, IL 60654
.pay-credit-card
.fields#cc_checkbox
= f.label :credit_card, "Credit Card"
= f.check_box :credit_card
.fields_inline#cc_types
.field
= f.label :visa, "Visa"
= f.check_box :visa
.field
= f.label :mc, "Mastercard"
= f.check_box :mc
.field
= f.label :amex, "American Express"
= f.check_box :amex
.field
= f.label :discover, "Discover"
= f.check_box :discover
.field
= f.label :four_digits, "Last Four Digits of Credit Card: "
= f.text_field :four_digits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment