Sha256: ecb9757e3303d82948a1c1b7966b08f361425d8ab5379ab1a1b80dc1bd3c13a2

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

<div class="review" itemprop="reviews" itemscope itemtype="http://schema.org/Review">
  <span class="reviews-rating" title="<%= txt_stars(review.rating) %>">
    <%= render "spree/reviews/stars", :stars => review.rating %>
  </span>
  <span itemprop="name"><%= review.title %></span>
  <br/>
  <span class="attribution"><%= t('submitted_on') %> <strong><%= l review.created_at.to_date %></strong></span>
  <meta itemprop="datePublished" content="<%= review.created_at.to_date.to_s %>" />

  <meta itemprop="reviewRating" content="<%= review.rating %>" />
  <% if Spree::Reviews::Config[:show_email] && review.user %>
    <span itemprop="author"><%= review.user.email %></span>
  <% else %>
    <span itemprop="author"><%= review.name %></span>
  <% end %>
  <div itemprop="reviewBody">
    <%= simple_format(review.review) %>
  </div>
  <% if Spree::Reviews::Config[:feedback_rating] && (!Spree::Reviews::Config[:require_login] || spree_current_user) %>
    <div class="feedback_review" id="feedback_review_<%= review.id %>">
      <%= render "spree/feedback_reviews/form", :review => review %>
    </div>
  <% end %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jiffyshirts_spree_reviews-2.3.1.2 app/views/spree/shared/_review.html.erb
jiffyshirts_spree_reviews-2.3.1.1 app/views/spree/shared/_review.html.erb