Popup Content Without Application Layout


#1

I am building a page that uses ThickBox
(http://jquery.com/demo/thickbox/) to display details about a record. A
user clicks a link on the page and a ThickBox pops up showing the record
as HTML. Unfortunately since I have an overall layout setup in my
application layout, that HTML is showing in the small popup box and it
doesn’t match.

How do I remove the added layout for just this specific view? Do I have
to turn the entire layout into a number of partials and insert them for
every view?


#2

Add render :layout => false to the end of your controller’s action to
have
it skip the layout portion of rendering.

D. Taylor S.
Reality Technician
http://realitytechnicians.com