How to change form code
Posted 01 November 2010 - 10:06 AM
All code that is in views/controllerId/_form can be customized, you should consider it like an example, not like an untouchable standard.
All widgets (or CHtml::something) can be customized with the property that are specified in the doc (see the CHtml or the widget you are using).
Posted 01 November 2010 - 10:44 AM
Posted 01 November 2010 - 12:20 PM
Read the section "Customizing code templates". You may want to customize framework/gii/crud/templates/default/_form.php (and of course store it in a place specified by generatorPaths in your application config).
This post has been edited by tri: 01 November 2010 - 12:32 PM