Sha256: ad0e87dc458fdbbd9e0b15a5c1b94b3f299a50ebf15d46276b0ba52190dcbb79

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

<%= form.inputs do %>
  <%= form.input :card_number, :required => true, :input_html => { :autocomplete => "off" } %>
  <%= form.input :verification_code, :required => true, :input_html => { :autocomplete => "off" } %>
  <%= form.input :expiration_month, :collection => [['January', '01'], ['February', '02'], ['March', '03'], ['April', '04'], ['May', '05'], ['June', '06'], ['July', '07'], ['August', '08'], ['September', '09'], ['October', '10'], ['November', '11'], ['December', '12']], :required => true %>
  <%= form.input :expiration_year, :collection => (Date.today.year..(Date.today.year+10)).to_a, :required => true %>
  <%= form.input :cardholder_name, :required => true %>
  <%= form.input :billing_email, :required => true, :hint => "We'll send receipts and billing issues to this address." %>

  <%= form.input :street_address, :label => "Address Line 1", :required => true %>
  <%= form.input :extended_address, :label => "Address Line 2", :required => true %>
  <%= form.input :locality, :label => "City", :required => true %>
  <%= form.input :region, :label => "State or Province", :required => true %>
  <%= form.input :postal_code, :label => "ZIP or Postal Code", :required => true %>
  <%= form.input :country_name, :label => "Country",
                                :required => true,
                                :collection => ["United States of America", "Canada", "---",
                                                *Braintree::Address::CountryNames.map(&:first)] %>
<% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
saucy-0.14.0 app/views/billings/_form.html.erb