Displaying 1 result from an estimated 1 matches for "block_2".
Did you mean:
block_r
2006 May 28
1
RJS template / page.insert_html problem
...e rjs
file I have two calls to page.insert_html, which do not work. No error
in development.log, nor error message in browser, the new content for
the div simply isn''t changed at all.
This is my code:
...
action = "save_" + controller.action_name
page.insert_html :before, "block_2", form_remote_tag( :url => {
:action => action }, :html => { :id => "input_form" })
page.insert_html :after, "block_3", end_form_tag
...
which doesn''t change the generated AT ALL, my form tag never gets written :-(
What is it that I''m doing w...