Sha256: 6c4bd3099f1667876d2b2d1b75a719d33dc48d0d7716104bad6f27989ae78aa4
Contents?: true
Size: 424 Bytes
Versions: 2
Compression:
Stored size: 424 Bytes
Contents
<% if defined? edit_enabled state = "" name = "review[rating]" else state = 'disabled="disabled"' name = defined?(review).nil? ? Time.now.tv_usec.to_s : "review_#{review}" end %> <% for i in 1..NB_STARS %> <input name="<%= name %>" type="radio" class="star" value="<%= pluralize(i, 'stars') %>" <%= state %> <%= "checked=\"checked\"" if i==stars %> /> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_reviews-0.50.1 | app/views/reviews/_stars.html.erb |
spree_reviews-0.50.0 | app/views/reviews/_stars.html.erb |