Sha256: 93bf6f0a2a9b3bcf5338454c8d3f9f14ac7a4c9b6ca1df60c9aba460ae328909
Contents?: true
Size: 993 Bytes
Versions: 8
Compression:
Stored size: 993 Bytes
Contents
.poll-answer{:id => poll_answer.to_anchor, :"data-votes" => poll_answer.votes, :"data-percentage" => poll_answer.percentage} - if f = local_assigns[:f] - if !poll_answered?(poll_answer.poll) = f.radio_button :vote, poll_answer.id, :id => "#{poll_answer.to_anchor}_input" %label{:for => "#{poll_answer.to_anchor}_input"} = poll_answer.value - if poll_answered?(poll_answer.poll, poll_answer) %span.poll-answer-voted = t(:your_vote, :scope => :e9_polls) - else %span.poll-answer-value = poll_answer.value - if poll_answered?(poll_answer.poll, poll_answer) %span.poll-answer-voted = t(:your_vote, :scope => :e9_polls) %span.poll-answer-bar-outer %span.poll-answer-bar{:style => "width:#{poll_answer.percentage}%", :class => "pab-#{cycle(*(1..(E9Polls.bar_css_class_count)).to_a)}"} %span.poll-answer-votes = poll_answer.votes %span.poll-answer-percentage #{poll_answer.percentage}%
Version data entries
8 entries across 8 versions & 1 rubygems