// // add a bootstrap alert to the page via javascript. // function alert_message(msg) { $('#messages').append('
×
'+msg+'
'); } ClientSideValidations.formBuilders['SimpleForm::FormBuilder'].wrappers.bootstrap = ClientSideValidations.formBuilders['SimpleForm::FormBuilder'].wrappers["default"];