saucy 0.14.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/app/views/billings/_form.html.erb +5 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
@@ -3,11 +3,15 @@
|
|
3
3
|
<%= form.input :verification_code, :required => true, :input_html => { :autocomplete => "off" } %>
|
4
4
|
<%= 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 %>
|
5
5
|
<%= form.input :expiration_year, :collection => (Date.today.year..(Date.today.year+10)).to_a, :required => true %>
|
6
|
+
<% end %>
|
7
|
+
|
8
|
+
<h5 class="legend">Billing Address</h5>
|
9
|
+
<%= form.inputs do %>
|
6
10
|
<%= form.input :cardholder_name, :required => true %>
|
7
11
|
<%= form.input :billing_email, :required => true, :hint => "We'll send receipts and billing issues to this address." %>
|
8
12
|
|
9
13
|
<%= form.input :street_address, :label => "Address Line 1", :required => true %>
|
10
|
-
<%= form.input :extended_address, :label => "Address Line 2", :required =>
|
14
|
+
<%= form.input :extended_address, :label => "Address Line 2", :required => false %>
|
11
15
|
<%= form.input :locality, :label => "City", :required => true %>
|
12
16
|
<%= form.input :region, :label => "State or Province", :required => true %>
|
13
17
|
<%= form.input :postal_code, :label => "ZIP or Postal Code", :required => true %>
|