Added support for input-group
This commit is contained in:
parent
9841233d64
commit
c184930f57
|
|
@ -4199,6 +4199,10 @@ function processFormErrors($form, errors)
|
|||
.parent()
|
||||
.addClass('has-error');
|
||||
} else {
|
||||
if($input.parent().hasClass('input-group')) {
|
||||
$input = $input.parent();
|
||||
}
|
||||
|
||||
$input.after('<div class="help-block error">' + error + '</div>')
|
||||
.parent()
|
||||
.addClass('has-error');
|
||||
|
|
|
|||
Loading…
Reference in New Issue