I'm trying to show a boolean field in the read state, but so far without success.
See what I'm trying:
$crud->field_type('ativo', 'true_false', array('1' => 'Sim', '0' => 'Não'));
This field in my table is:
`ativo` TINYINT(1) NOT NULL DEFAULT '1',
I use: GC stable version 1.4.1 and CI 2.1.3
Any suggestions?