Sha256: 5ea123a818e39a2e2a22a1b9a3fcda6b04a8cbaf0239ee9bb83f832ac07ef0e2

Contents?: true

Size: 563 Bytes

Versions: 3

Compression:

Stored size: 563 Bytes

Contents

<div id="reviews">
  <%= render 'spree/shared/rating', :locals => @product, :review => 0 %>
  <% for review in (Spree::Reviews::Config[:track_locale] ? @product.reviews.localized(I18n.locale) : @product.reviews).default_approval_filter.preview %>
    <%= render 'spree/shared/review', :review => review %>
  <% end %>
  <% if Spree::Reviews::Config[:feedback_rating] && (!Spree::Reviews::Config[:require_login] || spree_current_user) %>
    <%= link_to Spree.t('write_your_own_review'), new_product_review_path(@product), :class => "button" %>
  <% end %>
</div>

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
solidus_reviews-1.0.0 app/views/spree/shared/_review_summary.html.erb
jiffyshirts_spree_reviews-2.3.1.2 app/views/spree/shared/_review_summary.html.erb
jiffyshirts_spree_reviews-2.3.1.1 app/views/spree/shared/_review_summary.html.erb