Use form groups
This commit is contained in:
parent
2b2f508998
commit
aba366f211
@ -9,10 +9,3 @@
|
||||
#invalidCredentials {
|
||||
color: red;
|
||||
}
|
||||
input {
|
||||
margin-left:150px;
|
||||
width:250px;
|
||||
}
|
||||
label {
|
||||
position:absolute;
|
||||
}
|
@ -26,17 +26,20 @@
|
||||
</div>
|
||||
<div class="container col-lg-12" id="content">
|
||||
<form id="loginForm" action="/api/v1/login" method="POST" class="center-block">
|
||||
<label for="username">User</label>
|
||||
<input type="text" name="username" /><br />
|
||||
|
||||
<label for="password">Password</label>
|
||||
<input type="password" name="password" /><br />
|
||||
|
||||
<div id="invalidCredentials">
|
||||
The entered credentials are invalid
|
||||
<div class="form-group">
|
||||
<label for="username">User</label>
|
||||
<input type="text" name="username" class="form-control" />
|
||||
</div>
|
||||
|
||||
<input type="submit" value="Login" />
|
||||
<div class="form-group">
|
||||
<label for="password">Password</label>
|
||||
<input type="password" name="password" class="form-control" />
|
||||
<p id="invalidCredentials">
|
||||
The entered credentials are invalid
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<input type="submit" value="Login" class="btn btn-default" />
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user