Displaying 1 result from an estimated 1 matches for "modal_form".
2005 Mar 28
0
Handling return from modal pages on rails
...nt that sets the ID
attribute of the A element to L<LINK_ID>". I usually derive this ID
programaticaly, from the ID of the record that this link pertains to.
Set it to "nil" if you don''t use it. It''ll make a garbage link if you
don''t set the ID.
*
modal_form* creates a hidden form field named "ret", set as above.
*
store_return* is a filter that looks for @params[''ret''] and sets
@session[''return-to''] with its value (substituting ''#L'' for the ''.L'' I
used to encode the an...