What determines Gii's view code

So I’m not sure what i’ve done wrong this time - i’ve created a couple of yii apps in the last couple of months and when I use Gii to build the controllers create code, it generally automatically puts in a gridview and has the basics already done.

For the current app im building , for some reason the create view its building is basically empty and just says


You may change the content of this page by modifying the file ...

What have I missed, in order that Gii creates that boilerplate code with the gridview it usually does ?

Looks like you’ve used CRUD generator and now are using controller generator.