Sha256: be39d2537df40ec23ce83711dc84d05d2f0689a7270e7452151012c51733f8c3

Contents?: true

Size: 966 Bytes

Versions: 24

Compression:

Stored size: 966 Bytes

Contents

- content_for :scripts do
  = render :partial => "products", :locals => {:order => @cart_order}, :formats => [:js]

%h1= @product.title
  
#product_body
  %p
    %br/
    %strong= @product.short_description
    
  = @product.description.html_safe
  
  %p
    %strong= number_to_currency(@product.price)
  
#product_images  
  - unless @product.images.blank?  
    %h2 Images
    
    - for image in @product.images
      %a{:href => image.image.url, :rel => "zoom", :title => image.image_file_name }
        = image_tag(image.image.url(:thumbnail), { :class => "product_image" })
      %br/
      %a{:href => image.image.url, :rel => "zoom", :title => image.image_file_name }
        = image.image_file_name
      %br/
      .spacer{:style => "height: 25px;"}  

.spacer

= render :partial => "add_form", :locals => { :order => @cart_order, :product => @product }

.spacer

#sidebar
  = render :partial => "orders/cart_wrapper", :locals => { :order => @cart_order }

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge/app/views/products/show.html.haml
forge-cli-0.1.9 lib/forge/app/views/products/show.html.haml
forge-cli-0.1.8 lib/forge/app/views/products/show.html.haml
forge-cli-0.1.7 lib/forge/app/views/products/show.html.haml
forge-cli-0.1.6 lib/forge/app/views/products/show.html.haml
forge-cli-0.1.5 lib/forge/app/views/products/show.html.haml
forge-cli-0.1.4 lib/forge/app/views/products/show.html.haml
forge-cli-0.1.3 lib/forge/app/views/products/show.html.haml
forge-cli-0.1.2 lib/forge/app/views/products/show.html.haml
forge-cli-0.1.1 lib/forge/app/views/products/show.html.haml
forge-cli-0.1.0 lib/forge/app/views/products/show.html.haml
forge-cli-0.0.18 lib/forge/app/views/products/show.html.haml
forge-cli-0.0.17 lib/forge/app/views/products/show.html.haml
forge-cli-0.0.16 lib/forge/app/views/products/show.html.haml
forge-cli-0.0.15 lib/forge/app/views/products/show.html.haml
forge-cli-0.0.14 lib/forge/app/views/products/show.html.haml
forge-cli-0.0.13 lib/forge/app/views/products/show.html.haml
forge-cli-0.0.12 lib/forge/app/views/products/show.html.haml
forge-cli-0.0.11 lib/forge/app/views/products/show.html.haml
forge-cli-0.0.10 lib/forge/app/views/products/show.html.haml