Commit a892ddf3 authored by Bruno Michel's avatar Bruno Michel

Fix HTML on polls

parent b059c3d0
......@@ -2,5 +2,5 @@
%ul
= list_of poll.answers do |answer|
= radio_button_tag :position, answer.position, false
= label_tag(:position, answer.answer)
= label_tag "position_#{answer.position}", answer.answer
= submit_tag "Voter" unless poll.new_record?
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment