hot fix for anonymous votes
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
<%= t("debates.debate.votes", count: debate.total_votes) %>
|
<%= t("debates.debate.votes", count: debate.total_votes) %>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<% if user_signed_in? && current_user.unverified? %>
|
<% if user_signed_in? && current_user.unverified? && !debate.votable_by?(current_user)%>
|
||||||
<div class="anonymous-votes" style='display:none'>
|
<div class="anonymous-votes" style='display:none'>
|
||||||
<p>
|
<p>
|
||||||
<%= t("votes.anonymous",
|
<%= t("votes.anonymous",
|
||||||
|
|||||||
Reference in New Issue
Block a user