Take the 2-minute tour ×  Is there a way to configure CakePHP
for it to work well with Twitter Bootstrap? I realize this
question has already been asked here, but the answer wasn't
really complete.  There are also quite a few tutorials out
there, but they are all either outdated or just not working,
example: Build a PHP application using CakePHP and (twitter)
Bootstrap, Part 1.   share|improve this question add comment  12
Answers  up vote 23 down vote accepted  Assuming that the css
file is included in your layout in your view for forms you can
use the follwoing:  'inputDefaults' => array(     'div' =>
'control-group',     'label' => array('class' => 'control-
label'),     'between' => '<div class="controls">',     'after'
=> '</div>',     'class' => 'span3',     'error' =>
array('attributes' => array('wrap' => 'div', 'class' => 'alert
alert-error')) ) ));                  'after' => '<span class =
\'help-inline\'>Minimum of 5 characters.</span></div>'));  I
found this method to work perfectly with cake2.0 an