修改BUG:登录页面用户名口令为空时点击登录按钮未应用validate样式
This commit is contained in:
parent
ba113cbef2
commit
4ccd01392a
|
@ -14,14 +14,18 @@
|
|||
<form id="login" class="form-signin" method="post">
|
||||
<h2 class="form-signin-heading">欢迎登陆本系统</h2>
|
||||
<div class="login-wrap">
|
||||
<div class="form-group">
|
||||
<div class="input-group">
|
||||
<span class="glyphicon glyphicon-user input-group-addon"></span>
|
||||
<input type="text" name="userName" class="form-control" placeholder="用户名" value="@Model.UserName" autofocus />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="input-group">
|
||||
<span class="glyphicon glyphicon-lock input-group-addon"></span>
|
||||
<input type="password" name="password" class="form-control" value="@Model.Password" placeholder="密码" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
<input id="remember" name="remember" type="checkbox" value="true" /><label for="remember">记住我</label>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue