Yii2 - How to render the index view plus the create view all in the same page

So far i have made Yii2 applications always rendering one view per action in some Controller.

But now i need to render 2 view files, the index and the view in the same screen.

inside view You can use:

echo $this->render(‘viewname’,[params])

it works