How to modify form elements on CRUD views

Hello everyone,

This is the first time I am using a framework but I have PHP/MySQL experience from 5-6 years ago. Sorry for the newbie question.

I have used Gii to generate models and CRUD pages for a DB table. Some fields in that table are: datepicker, dropdown, etc. and I am trying to replace the default textfields on the CRUD-generated pages.

I tried to modify the /protected/views/dbtable/create.php file but I see this:


<?php echo $this->renderPartial('_form', array('model'=>$model));?>

How can I change the form elements on the create.php and update.php?

Thank you in advance for a great framework!

EDIT:

For some reason, I cannot post in my own thread because the board keeps saying my post is spam. Anyway, the solution is the _form.php file under the views folder.