Sha256: cbe13aee7eb0e6e7a9d8917b00664b0abf90032b604b33216e9698ac0555f025

Contents?: true

Size: 695 Bytes

Versions: 1

Compression:

Stored size: 695 Bytes

Contents

<% @body_class = 'one-col' %>

<% content_for :head do %>
  <%= stylesheet_link_tag 'compare_products' %>
<% end %>

<h1>
  <%= t('compare_products.product_comparison') %>
</h1>
<% if @comparable_products.count > 1 %>
<table class="compare_product_show">
  <% comparison_rows_for(@comparable_products, @properties).each do |row| %>
    <tr>
      <th><%= row.shift -%></th>
      
      <% row.each do |field| %>
        <td><%= field || raw('&mdash;') %></td>
      <% end %>
    </tr>
  <% end %>
</table>
<% else %>
  <p><%= t('compare_products.insufficient_data') %></p>
<% end %>

<%= link_to t('continue_shopping'), @taxon ? seo_url(@taxon) : products_path, :class => 'continue button' %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_compare_products-0.50.0 app/views/compare_products/show.html.erb