Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 7bfb16b51b
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (14 sloc) 0.453 kB
<section class="product">
<header><%= product.name %></header>
<section class="product_image">
<%= image_tag product.image_url, :width => '20%' if product.image_url.present? %>
</section>
<section class="product_info">
<span class="label">Price</span>
<span class="value"><%= product.price %></span>
</section>
<footer>
<%= link_to 'Buy Now', add_to_cart_path(product) %>
<% span_label 'Product Name: ' %>
</footer>
</section>
Jump to Line
Something went wrong with that request. Please try again.