search for: next_question

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

2007 Apr 03
3
end_form_tag
In my logs I can see that end_form_tag is being deprecated. I wanted to make the switch now but cannot get the new end tag to work. THIS WORKS: <%= 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 %&...
2006 Jul 14
3
Rails newbie: How does the submit_tag work?
I would appreciate any and all input. The Agile book is not useful in this context. :o( As near as I can tell, it doesn''t work at all. I would expect that clicking on the [Next Question] button in the browser would fire the next_question method in the current controller. Instead, it (apparently) does nothing. The tag in question <%= submit_tag ''Next Question'' %> expands to <input name="next_question" type="submit" value="Next Question" /> RHTML follows:...