search for: add_form

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

Did you mean: add_dom
2006 Apr 15
0
form_for, partials, and rjs
...%> And Im having so much fun with form_for that Id like to continue using it. But how can I add the partial in a rjs template without adding <form> etc. I realize that I could get what I wanted if wasn''t using form_for with something like: page.insert_html :before, ''add_form'', :partial => ''shared/forms/example'' and just set the @example variable in my controller. But I was just wondering if anyone had any ideas for a solution using form_for. -- Posted via http://www.ruby-forum.com/.