How to render a template in a pop-up window?

Hm, can you not modify the link to include target="_blank" for the second case?

Federico Fernandez wrote:

link_to has a popup option, check out http://api.rubyonrails.org/classes/ActionView/Helpers/ UrlHelper.html#M000378

Best, Thomas