Sha256: e3f3d72f162e1d59f243d257b6ec923cb55f111ea8eb1b830acb54ccccecca09

Contents?: true

Size: 324 Bytes

Versions: 24

Compression:

Stored size: 324 Bytes

Contents

#product_actions{:class => "#{order && order.line_items.size > 0 ? "hide_with_javascript" : ""}"}
  %strong Add to Cart
  %br/
  = form_tag add_to_cart_orders_path, :id => "add_to_cart" do
    = hidden_field_tag "product_id", product.id
    Quantity: 
    = text_field_tag "quantity", nil, :size => 4
    = submit_tag "Add"

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
forge-cli-0.0.9 lib/forge/app/views/products/_add_form.html.haml
forge-cli-0.0.8 lib/forge/app/views/products/_add_form.html.haml
forge-cli-0.0.7 lib/forge/app/views/products/_add_form.html.haml
forge-cli-0.0.6 lib/forge/app/views/products/_add_form.html.haml