search for: choice_id

Displaying 2 results from an estimated 2 matches for "choice_id".

2007 Apr 03
3
end_form_tag
...lt;%= form_remote_tag :url =>{:action => "next_question", :kwiz_id => @kwiz.id, :position => @next_position} %> <% @question.choices.each do |choice| -%> <%= radio_button_tag "choice_id", choice.id %> <%= choice.name %><br /> <% end -%> <br /> <%= submit_tag "Next Question" %> <%= end_form_tag %> THIS DOES NOT WORK: <%= form_remote_tag :url =>{:action => "next_questio...
2008 Nov 19
0
Helpers in lib
...#39;'><a href=''/polls/#{@poll.id}''># {@poll.question}</a>" output += context.capture(form_for @vote, :url => context.vote_poll_path(@vote.poll)) for choice in @poll.choices output += "<input type=''radio'' name=''choice_id'''' value=''# {choice.id}''>#{choice.description}</input>" end output += "</div>" output += "<input type=''submit'' value=''Vote!'' />" output += "<% end %>" end An...