Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/views/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
},
highlight: function(element) {
$(element).closest('.form-group').addClass('has-error'); // add the Bootstrap error class to the control group
$(element).closest('.form-group').removeClass('has-success').addClass('has-error'); // add the Bootstrap error class to the control group
},

<?php if (isset($validator['ignore']) && is_string($validator['ignore'])): ?>
Expand Down