diff --git a/app/views/polls/show.html.erb b/app/views/polls/show.html.erb index 437328615..5ec66751c 100644 --- a/app/views/polls/show.html.erb +++ b/app/views/polls/show.html.erb @@ -39,12 +39,6 @@ <% else %> - <% if poll_voter_token(@poll, current_user).empty? %> - - <% end %> - <% if current_user && !@poll.votable_by?(current_user) %>
<%= t("polls.show.already_voted_in_web") %> @@ -55,6 +49,12 @@ <% @questions.each do |question| %> <%= render 'polls/questions/question', question: question, token: @token %> <% end %> + + <% if poll_voter_token(@poll, current_user).empty? %> + + <% end %>