Checkbox for boolean fields

Hi

For boolean fields Yii/Gii generates input text. Is there any way to easily replace this input objects for check boxes (true/false)?

Tks

BSC

Modify the Gii’s default CRUD Generator.

I would generate a checkbox when the column definition is a "tinyint(1)" (for MySQL).