Render 2 views

Usually it has code like this


but if I also want to insert another view e.g registration view together with login view, how can I render them together? any idea?

refer here actionCreate with two models

and the wiki : How to use a single form to collect data for two or more models

You can render one view inside another view with renderPartial() method.