I\'m using Bootstrap 3.0RC1 with CakePHP 2.3.6. Trying to take advantage of those beautiful looking classes like has-error and has-w
Bootstrap 3.0RC1
CakePHP 2.3.6
has-error
has-w
I used jQuery.
<script> $(document).ready(function() { $('.form-control').parent('.error').each(function() { $(this).addClass('has-error'); }); }); </script>