Displaying 1 result from an estimated 1 matches for "_form_new_answer".
Did you mean:
form_new_answer
2006 Jan 19
8
Passing variables across forms
...############ new_answer.rhtml
<%= start_form_tag :action => ''create_answer'' %>
<%= render_partial ''form_new_answer'' %>
<%= submit_tag "Create" %>
<%= end_form_tag %>
###########################
########################### _form_new_answer.rhtml
<p><label for="answer_answer">Answer to add</label><br/>
<%= text_area ''answer'', ''answer'', {:cols=>"80", :rows=>"5"} %></p>
###########################
########################### ans...