修正错误信息的显示位置
This commit is contained in:
@@ -89,10 +89,7 @@
|
||||
if($(element).parents().hasClass("tagsinput")){
|
||||
$(element).parents(".col-md-6").next("div").append(error);
|
||||
}else{
|
||||
$(element).parents(".form-group").find(
|
||||
"div[for='"
|
||||
+ element.attr("id")
|
||||
+ "']").append(error);
|
||||
error.appendTo(element.parent().parent());
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user