This is a pretty basic question but I can\'t find a good answer for it. I have a page in my Rails app where there are many objects that can be \'flagged\'. Clicking the fl
You could do this with the jquery facebox. This kind of thing is better not done in rjs, but in unobtrusive javascript, that's where everyone is heading these days, it's much cleaner. You can attach the facebox rel to your links, then when clicked it can open the form in a popup window.
Then in your popup window you can do your form and redirect or whatever. The user will be only able to click one as when the pop up window opens an overlay is put over the page so clicking outside it either has no effect or closes the form (I think you choose in the config).
Sounds like the way to go.