Fixed already voted message in poll show
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
</div>
|
||||
<% else %>
|
||||
|
||||
<% if current_user && !@poll.votable_by?(current_user) %>
|
||||
<% if current_user && @poll.votable_by?(current_user) %>
|
||||
<div class="callout warning">
|
||||
<%= t("polls.show.already_voted_in_web") %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user