You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue. I have two divs for view rating: first is shows user current rate (and there is an issue - it shows only 1 star, user cannot vote for more stars.
I have an issue. I have two divs for view rating: first is shows user current rate (and there is an issue - it shows only 1 star, user cannot vote for more stars.
<%= rating_for_user photo, current_user, "ogolna", half_show: true, enable_half: true, star: 10 %>
Before it I had sth like this:
<%= rating_for photo, "ogolna", disable_after_rate: false %>
but it shows average rating (but then user can vote for more stars, but he can't view how many stars he gave stars.
for average rating I have
<%= rating_for photo, "ogolna", disabled: true, readonly: true %>
and it works good.
How to shows blank stars for rating for user?
The text was updated successfully, but these errors were encountered: