# Controller/view in div

**URL:** <https://www.ruby-forum.com/t/controller-view-in-div/175472>\
**Category:** Rails\
**Created:** [September 14, 2009, 1:13pm UTC](https://www.ruby-forum.com/t/controller-view-in-div/175472 "2009-09-14T13:13:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RVince](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/4491bb/32.png) [@RVince](https://www.ruby-forum.com/u/RVince)\
**Post date:** [September 14, 2009, 1:13pm UTC](https://www.ruby-forum.com/t/controller-view-in-div/175472/1 "2009-09-14T13:13:10Z")

</div>

I have a page which is invoked and displays its view. However, I wish  
to put up a lightbox/redbox wherein I want a solitary record’s form  
displayed for editing, a form that corresponds to a different table  
than the one being displayed which will invoke the lightbox/redbox.

Therefor, how can I make a view contain a div that corresponds to the  
controller/view of another table? Thanks, RVince
