Sha256: bc7bf81784569a1f058f4cf10438763c4ada37f752074942ced00880a0a3d1fd
Contents?: true
Size: 488 Bytes
Versions: 2
Compression:
Stored size: 488 Bytes
Contents
.e9-poll .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.2 | app/views/e9_polls/polls/_poll.html.haml |
e9_polls-1.0.1 | app/views/e9_polls/polls/_poll.html.haml |