<% if can?(:answer, question) && !question.poll.voted_in_booth?(current_user) %> <% question_answers.each do |question_answer| %> <% if already_answered?(question_answer) && !voted_before_sign_in? %> "> <%= question_answer.title %> <% else %> <%= button_to answer_question_path(question, answer: question_answer.title), remote: true, title: t("poll_questions.show.vote_answer", answer: question_answer.title), class: "button secondary hollow" do %> <%= question_answer.title %> <% end %> <% end %> <% end %> <% elsif !user_signed_in? %> <% question_answers.each do |question_answer| %> <%= link_to question_answer.title, new_user_session_path, class: "button secondary hollow" %> <% end %> <% elsif !current_user.level_two_or_three_verified? %> <% question_answers.each do |question_answer| %> <%= link_to question_answer.title, verification_path, class: "button secondary hollow" %> <% end %> <% else %> <% question_answers.each do |question_answer| %> <%= question_answer.title %> <% end %> <% end %>