Sha256: 49c1346c0b7d76c4e973dfea952cce5bbe89d5f4d77e3f1790e84169aac48cb4

Contents?: true

Size: 482 Bytes

Versions: 3

Compression:

Stored size: 482 Bytes

Contents

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_reviews-0.50.1 app/views/feedback_reviews/create.js.erb
spree_reviews-0.50.0 app/views/feedback_reviews/create.js.erb
spree_reviews-0.30.0 app/views/feedback_reviews/create.js.erb