<%= provide :title, t("social_share.polls_show.title_#{@poll.id}", default: @poll.title) %> <%= provide :meta_description, t("social_share.polls_show.description_#{@poll.id}", default: @poll.title) %> <%= provide :social_media_meta_tags do %> <%= render "shared/social_media_meta_tags", social_url: poll_url, social_title: t("social_share.polls_show.title_#{@poll.id}", default: @poll.title), social_description: t("social_share.polls_show.facebook_#{@poll.id}", default: @poll.title), twitter_image_url: "social_media_polls_twitter.jpg", og_image_url: "social_media_polls.jpg" %> <% end %>
<%= render "poll_header" %> <%= render "poll_subnav" %>
<%= render "callout" %> <% if @poll.voted_in_booth?(current_user) %>
<%= t("polls.show.already_voted_in_booth") %>
<% else %> <% if current_user && @poll.voted_in_web?(current_user) && !@poll.expired? %>
<%= t("polls.show.already_voted_in_web") %>
<% end %> <% end %> <% @questions.each do |question| %> <%= render "polls/questions/question", question: question, token: @token %> <% end %>

<%= t("polls.show.more_info_title") %>

<%= safe_html_with_links simple_format(@poll.description) %>
<% if false %> <% end %>
<% @questions.each do |question| %> <% if question.answers_with_read_more? %>

<%= question.title %>

<% question.question_answers.visibles.each do |answer| %> <% if answer.description.present? || answer.images.any? || answer.documents.present? || answer.videos.present? %>

<%= answer.title %>

<% if answer.description.present? %> <%= answer.description %> <% end %> <% if answer.images.any? %>
<%= render "gallery", answer: answer %>
<% end %> <% if answer.documents.present? %> <% end %> <% if answer.videos.present? %> <% end %>
<% end %> <% end %>
<% end %> <% end %>
<%= render "filter_subnav" %>
<%= render "comments" %>