sbdevcart 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,16 @@
|
|
1
1
|
<div class='product' id='<%= product.id %>'>
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
2
|
+
<div class='clearfix'>
|
3
|
+
<div class='right'>
|
4
|
+
<%= form_for OrderItem.new(:quantity => 1) do |f| %>
|
5
|
+
<%= f.label :quantity %>
|
6
|
+
<%= f.text_field :quantity, :size => 5 %>
|
7
|
+
<%= f.hidden_field :product_id, :value => product.id %>
|
8
|
+
<%= f.hidden_field :order_id, :value => @order.id %>
|
9
|
+
<%= f.submit "Add To Cart", :class => 'button' %>
|
10
|
+
<% end %>
|
11
|
+
</div>
|
12
|
+
<h3><%= product.name.titleize %> - <%= number_to_currency product.price.to_i %></h3>
|
13
|
+
</div>
|
10
14
|
<div class='clearfix'><%= render :partial => 'indices/show', :object => product.index, :as => :index %></div>
|
11
15
|
<% if admin_signed_in? %>
|
12
16
|
<p class='asset-admin'>
|
data/lib/sbdevcart/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sbdevcart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-08-24 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sbdevcore
|
16
|
-
requirement: &
|
16
|
+
requirement: &2153589900 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.0.8
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2153589900
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: aasm
|
27
|
-
requirement: &
|
27
|
+
requirement: &2153589400 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: 2.2.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2153589400
|
36
36
|
description: Sbdev Shopping Cart
|
37
37
|
email:
|
38
38
|
- aosalias@gmail.com
|