<% @question = @page.question %> <% extend PairwisePlugin::Helpers::ViewerHelper %> <% unless @page.errors[:base].blank? %>

<%= _('Pairwise Integration Error') %>

<%= _('Please contact the administrator') %>

    <%= @page.errors[:base] %>
    
<% else %> <%= render :partial => 'content_viewer/menu', :locals => {:embeded => embeded, :pairwise_content => pairwise_content, :active_tab => :results} %>
<%= pairwise_spinner(pairwise_content) %>
<%= _('Total votes:') %> <%= @page.question.votes_count %>
<% @page.question.get_choices.each do |choice| %> <% end %>
<%= _('Choice Text') %> <%= _('Choice Wins') %> <%= _('Choice Losses') %> <%= _('Choice Score') %>
<%= choice.data.html_safe %> <%= choice.wins %> <%= choice.losses %> <%= choice.score.round.to_s %>
<% if !embeded && @page.allow_edit?(user) %>
<%= _("Show/Hide Embeded Code") %>
<% end %> <% end %>