We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94e29df commit 2ed7044Copy full SHA for 2ed7044
app/views/ratings/_form.html.erb
@@ -8,7 +8,7 @@
8
<% 1.upto(5).each do |score| %>
9
<% rating_users = others_ratings.select { |r| r.score == score }.map { |r| r.user.display_name } %>
10
<% btn_data = { score: score } %>
11
- <% btn_icon = rating_users.any? ? 'star-exclamation' : 'star' %>
+ <% btn_icon = rating_users.any? ? 'heart' : 'star' %>
12
<% rating_users.unshift('You') if rating.score == score %>
13
<% if rating_users.any? %>
14
<%# We specify container: 'body' to avoid rendering problems in more complex components %>
0 commit comments