Sha256: dbace22148810da04f4f80abed86cf3686b61b30eee3fee2b8a0b3a4d5753aea
Contents?: true
Size: 517 Bytes
Versions: 2
Compression:
Stored size: 517 Bytes
Contents
.e9-poll{:"data-votes" => poll.votes} .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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
e9_polls-1.0.4 | app/views/e9_polls/polls/_poll.html.haml |
e9_polls-1.0.3 | app/views/e9_polls/polls/_poll.html.haml |