search for: answer_c

Displaying 1 result from an estimated 1 matches for "answer_c".

Did you mean: answer_1
2010 Aug 31
6
ajax and partials
...:anno_2 => answer_list[1][1], :anno_3 => answer_list[2][1], :anno_4 => answer_list[3][1], :anno_5 => answer_list[4][1], :question => self.question, :answer_a => answer_list[0][0], :answer_b => answer_list[1][0], :answer_c => answer_list[2][0], :answer_d => answer_list[3][0], :answer_e => answer_list[4][0] } formatted end In the controller: @question = Question.find(params[:id]) @formatted_question = @question.set_format_for_presentation In the view: <% form_for(...