Sha256: d562618963825ee0c3c818dd91ddb15d8acfefcc5b8527f8da2ac886a3ca1430
Contents?: true
Size: 609 Bytes
Versions: 3
Compression:
Stored size: 609 Bytes
Contents
.e9-poll{:"data-votes" => poll.votes} - if poll.options.header_text.present? .poll-header = poll.options.header_text .poll-question = poll.question .poll-answers - if poll_answered?(poll) = render(:partial => 'e9_polls/polls/results_inner', :locals => { :poll => poll }) - else = form_for poll, :url => answer_poll_path(poll) do |f| = render(:partial => PollAnswer.model_name.partial_path, :collection => poll.poll_answers, :locals => { :f => f }) .actions = f.submit t(:submit_answer, :scope => :e9_polls) = poll_results_link(poll)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
e9_polls-1.0.10 | app/views/e9_polls/polls/_poll.html.haml |
e9_polls-1.0.9 | app/views/e9_polls/polls/_poll.html.haml |
e9_polls-1.0.8 | app/views/e9_polls/polls/_poll.html.haml |