Sha256: dec1a4df31526f80c4383ca3aba1ba85d9c94f7a9664665f618f943ac9e2bc07

Contents?: true

Size: 444 Bytes

Versions: 3

Compression:

Stored size: 444 Bytes

Contents

<% if @feedback_review.valid? %>
$("div#feedback_review_<%= @review.id %>").html("<%= escape_javascript(render('spree/feedback_reviews/summary', :review => @review)) %>");
<% else %>
$("div#feedback_review_<%= @review.id %>").html("<%= escape_javascript(render('spree/feedback_reviews/form', :review => @review)) %>");

<% end %>
$(document).ready(function(){$("div#feedback_review_<%= @review.id %>").find(".star").rating({required:true});});

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
solidus_reviews-1.0.0 app/views/spree/feedback_reviews/create.js.erb
jiffyshirts_spree_reviews-2.3.1.2 app/views/spree/feedback_reviews/create.js.erb
jiffyshirts_spree_reviews-2.3.1.1 app/views/spree/feedback_reviews/create.js.erb