Sha256: 91180d37874122355a0dc292f700745d817f59738c72ef91adb62e8aecd63be1

Contents?: true

Size: 643 Bytes

Versions: 9

Compression:

Stored size: 643 Bytes

Contents

<%= render 'spree/feedback_reviews/summary', review: review %>
<%= form_for((@feedback_review ||= review.feedback_reviews.build), url: feedback_reviews_path(review), method: :post, remote: true) do |f| %>
<% unless @feedback_review.errors.empty? %>
 <span class="error"><%= @feedback_review.errors[:rating] %></span>
 <br />
<% end %>
<%= I18n.t("spree.was_this_review_helpful") %>
<% for i in 1..NB_STARS %>
  <%= radio_button_tag "feedback_review[rating]",
                       I18n.t("spree.star", count: i), false, class: "star" %>
<% end %>
<button class="feedback-review"><span><%= I18n.t("spree.say_yes") %></span></button>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

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