cakephp-plugin-boost_cake
cakephp-plugin-boost_cake copied to clipboard
Bootstrap3 Checkbox example renders as text input
Checkbox using code from: http://slywalker.github.io/cakephp-plugin-boost_cake/bootstrap3.html renders as a text input not a checkbox.
Before: Form->input('checkbox', array( 'label' => 'Check me out', 'class' => false )); ?>
Better: Form->input('checkbox', array( 'label' => 'Check me out', 'class' => false, 'type' => 'checkbox' )); ?>
宜しく!
note in his example the setting of the Model variable $_schema where checkbox is defined as type checkbox ...