refinerycms-stores 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/app/views/refinery/orders/orders/_address_form.html.haml +23 -21
- data/app/views/refinery/orders/orders/_card_form.html.haml +17 -14
- data/refinerycms-stores.gemspec +25 -1
- metadata +314 -226
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.10
|
@@ -3,33 +3,35 @@
|
|
3
3
|
= render :partial => "/refinery/admin/error_messages", :locals => { :object => address_form, :include_object_name => true }
|
4
4
|
|
5
5
|
%fieldset.modal-fieldset.clearfix2
|
6
|
-
|
7
|
-
|
6
|
+
#lefthand-fields
|
7
|
+
= f.label( :first_name, 'First Name*' )
|
8
|
+
= f.text_field( :first_name )
|
8
9
|
|
9
|
-
|
10
|
-
|
10
|
+
= f.label( :email, 'email')
|
11
|
+
= f.email_field( :email )
|
11
12
|
|
12
|
-
|
13
|
-
|
13
|
+
= f.label( :address1, 'address1*')
|
14
|
+
= f.text_field( :address1 )
|
14
15
|
|
15
|
-
|
16
|
-
|
16
|
+
= f.label( :city, 'city*')
|
17
|
+
= f.text_field( :city )
|
17
18
|
|
18
|
-
|
19
|
-
|
19
|
+
= f.label( :state, 'state*' )
|
20
|
+
= f.text_field( :state )
|
20
21
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
= f.label( :city, 'city*')
|
25
|
-
= f.text_field( :city )
|
22
|
+
#righthand-fields
|
23
|
+
= f.label( :last_name, 'Last Name*' )
|
24
|
+
= f.text_field( :last_name )
|
26
25
|
|
27
|
-
|
28
|
-
|
26
|
+
= f.label( :phone, 'phone' )
|
27
|
+
= f.telephone_field( :phone )
|
29
28
|
|
30
|
-
|
31
|
-
|
29
|
+
= f.label( :address2, 'address2' )
|
30
|
+
= f.text_field( :address2 )
|
31
|
+
|
32
|
+
= f.label( :zip, 'zip*' )
|
33
|
+
= f.text_field( :zip )
|
32
34
|
|
33
|
-
|
34
|
-
|
35
|
+
= f.label( :country, 'country*' )
|
36
|
+
= f.text_field( :country )
|
35
37
|
|
@@ -46,18 +46,21 @@
|
|
46
46
|
|
47
47
|
-# expects to be wrapped within a form: %form{ :method => 'post', :id => 'payment-form' }
|
48
48
|
-# expects a submit button like this: %button( type="submit" class="submit-button">Submit Payment</button )
|
49
|
-
.
|
50
|
-
|
51
|
-
|
52
|
-
.
|
53
|
-
|
54
|
-
|
55
|
-
.cc-form-row
|
56
|
-
|
57
|
-
|
58
|
-
.cc-form-row
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
49
|
+
%fieldset.modal-fieldset
|
50
|
+
|
51
|
+
.cc-form-errors
|
52
|
+
%span.payment-errors
|
53
|
+
|
54
|
+
.form-lines.no-width
|
55
|
+
.cc-form-row
|
56
|
+
= label_tag 'Card Number'
|
57
|
+
%input(type="text" size="20" autocomplete="off" class="card-number")
|
58
|
+
.cc-form-row
|
59
|
+
= label_tag 'CVC'
|
60
|
+
%input(type="text" size="4" autocomplete="off" class="card-cvc")
|
61
|
+
.cc-form-row
|
62
|
+
= label_tag 'Expiration (MM/YYYY)'
|
63
|
+
%input(type="text" size="2" autocomplete="off" class="card-expiry-month")
|
64
|
+
\/
|
65
|
+
%input(type="text" size="4" autocomplete="off" class="card-expiry-year")
|
63
66
|
|
data/refinerycms-stores.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "refinerycms-stores"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.10"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Daudi Amani"]
|
@@ -255,6 +255,14 @@ Gem::Specification.new do |s|
|
|
255
255
|
s.add_development_dependency(%q<rb-inotify>, [">= 0.5.1"])
|
256
256
|
s.add_development_dependency(%q<libnotify>, ["~> 0.1.3"])
|
257
257
|
s.add_development_dependency(%q<therubyracer>, [">= 0"])
|
258
|
+
s.add_development_dependency(%q<refinerycms-testing>, ["~> 2.0.0"])
|
259
|
+
s.add_development_dependency(%q<factory_girl_rails>, [">= 0"])
|
260
|
+
s.add_development_dependency(%q<generator_spec>, [">= 0"])
|
261
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
262
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
263
|
+
s.add_development_dependency(%q<rb-inotify>, [">= 0.5.1"])
|
264
|
+
s.add_development_dependency(%q<libnotify>, ["~> 0.1.3"])
|
265
|
+
s.add_development_dependency(%q<therubyracer>, [">= 0"])
|
258
266
|
else
|
259
267
|
s.add_dependency(%q<refinerycms-stores>, [">= 0"])
|
260
268
|
s.add_dependency(%q<refinerycms>, ["~> 2.0.0"])
|
@@ -368,6 +376,14 @@ Gem::Specification.new do |s|
|
|
368
376
|
s.add_dependency(%q<rb-inotify>, [">= 0.5.1"])
|
369
377
|
s.add_dependency(%q<libnotify>, ["~> 0.1.3"])
|
370
378
|
s.add_dependency(%q<therubyracer>, [">= 0"])
|
379
|
+
s.add_dependency(%q<refinerycms-testing>, ["~> 2.0.0"])
|
380
|
+
s.add_dependency(%q<factory_girl_rails>, [">= 0"])
|
381
|
+
s.add_dependency(%q<generator_spec>, [">= 0"])
|
382
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
383
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
384
|
+
s.add_dependency(%q<rb-inotify>, [">= 0.5.1"])
|
385
|
+
s.add_dependency(%q<libnotify>, ["~> 0.1.3"])
|
386
|
+
s.add_dependency(%q<therubyracer>, [">= 0"])
|
371
387
|
end
|
372
388
|
else
|
373
389
|
s.add_dependency(%q<refinerycms-stores>, [">= 0"])
|
@@ -482,6 +498,14 @@ Gem::Specification.new do |s|
|
|
482
498
|
s.add_dependency(%q<rb-inotify>, [">= 0.5.1"])
|
483
499
|
s.add_dependency(%q<libnotify>, ["~> 0.1.3"])
|
484
500
|
s.add_dependency(%q<therubyracer>, [">= 0"])
|
501
|
+
s.add_dependency(%q<refinerycms-testing>, ["~> 2.0.0"])
|
502
|
+
s.add_dependency(%q<factory_girl_rails>, [">= 0"])
|
503
|
+
s.add_dependency(%q<generator_spec>, [">= 0"])
|
504
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
505
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
506
|
+
s.add_dependency(%q<rb-inotify>, [">= 0.5.1"])
|
507
|
+
s.add_dependency(%q<libnotify>, ["~> 0.1.3"])
|
508
|
+
s.add_dependency(%q<therubyracer>, [">= 0"])
|
485
509
|
end
|
486
510
|
end
|
487
511
|
|