Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 2nd, 2012  |  syntax: None  |  size: 0.52 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <li>
  2.                                         <%= (image_tag(product.images.first.attachment.url(:wall))) %>                                 
  3.                                         <div class="product-info">
  4.                                                 <h3><%= link_to(product.name, product_path(product)) %></h3>
  5.                                                 <% product.brands.each do |brand| %>
  6.                                                         by <%= link_to(brand.name, seo_url(brand), :class => 'detail-text') %><br />
  7.                                                 <% end %>
  8.                                                 <%= content_tag(:div, product_price(product), :class => 'price-text') %>
  9.                                                 <%= link_to("More info", product_path(product), :class => 'button-small btn-text-s')%>                                                                 
  10.                                         </div>
  11.                                 </li>