Sha256: fc125c34de8ec7ddfcbdc67f4a9647da675dbfc3da39c94f1a256529777ec713

Contents?: true

Size: 644 Bytes

Versions: 3

Compression:

Stored size: 644 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 %>
<%= Spree.t(:was_this_review_helpful) %>
<% for i in 1..NB_STARS %>
  <%= radio_button_tag "feedback_review[rating]",
                       Spree.t('star', :count => i), false, :class => "star" %>
<% end %>
<button class="feedback-review"><span><%= Spree.t(:say_yes) %></span></button>
<% end %>

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
solidus_reviews-1.0.0 app/views/spree/feedback_reviews/_form.html.erb
jiffyshirts_spree_reviews-2.3.1.2 app/views/spree/feedback_reviews/_form.html.erb
jiffyshirts_spree_reviews-2.3.1.1 app/views/spree/feedback_reviews/_form.html.erb