Sha256: 1d45e7733ef98d70ba047eb2399aab6c94c17fd7a66678efc7a590176d8bb87f

Contents?: true

Size: 556 Bytes

Versions: 9

Compression:

Stored size: 556 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 I18n.t("spree.write_your_own_review"), new_product_review_path(@product), class: "button" %>
  <% end %>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
solidus_reviews-1.7.0 app/views/spree/shared/_review_summary.html.erb
solidus_reviews-1.6.0 app/views/spree/shared/_review_summary.html.erb
solidus_reviews-1.5.0 app/views/spree/shared/_review_summary.html.erb
solidus_reviews-1.4.1 app/views/spree/shared/_review_summary.html.erb
solidus_reviews-1.4.0 app/views/spree/shared/_review_summary.html.erb
solidus_reviews-1.3.0 app/views/spree/shared/_review_summary.html.erb
solidus_reviews-1.2.0 app/views/spree/shared/_review_summary.html.erb
solidus_reviews-1.1.1 app/views/spree/shared/_review_summary.html.erb
solidus_reviews-1.1.0 app/views/spree/shared/_review_summary.html.erb