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