Sha256: 407b791b8dc265bb72e7b74de57bb377f7b3faa9a3560db5e010c5a98c2346cd

Contents?: true

Size: 593 Bytes

Versions: 4

Compression:

Stored size: 593 Bytes

Contents

<% if @product.similar_products.any? %>

  <hr>
  <h3><%= t(:similar_products) %></h3>

  <ul class="thumbnails related_products">       
	  <% @product.similar_products.each do |product| %>   
      <li class="span2">
        <div class="thumbnail">
          <div class="product-image-wrapper">
            <%= link_to small_image(product), product %>
          </div>
          <div class="caption centered">
            <%= link_to raw(product.name), product %>  
            <%= product_price(product) %><br><br>
          </div>
        </div>
      </li>
    <% end %>
  </ul>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
synergy_bootstrap_theme-0.0.4 app/views/products/_similar_products.html.erb
synergy_bootstrap_theme-0.0.3 app/views/products/_similar_products.html.erb
synergy_bootstrap_theme-0.0.2 app/views/products/_similar_products.html.erb
synergy_bootstrap_theme-0.0.1 app/views/products/_similar_products.html.erb