Add labels and placeholders
This commit is contained in:
parent
1457e51417
commit
6975c36222
2 changed files with 8 additions and 4 deletions
|
@ -4,11 +4,13 @@
|
||||||
|
|
||||||
<form method="post" action="/sign_in">
|
<form method="post" action="/sign_in">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input name="username" type="text" class="form-control"/>
|
<label for="username">Username</label>
|
||||||
|
<input id="username" name="username" type="text" class="form-control" placeholder="Username"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input name="password" type="password" class="form-control"/>
|
<label for="password">Password</label>
|
||||||
|
<input id="password" name="password" type="password" class="form-control" placeholder="Password"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button type="submit" class="btn btn-primary">
|
<button type="submit" class="btn btn-primary">
|
||||||
|
|
|
@ -4,11 +4,13 @@
|
||||||
|
|
||||||
<form method="post" action="/sign_up">
|
<form method="post" action="/sign_up">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input name="username" type="text" class="form-control"/>
|
<label for="username">Username</label>
|
||||||
|
<input id="username" name="username" type="text" class="form-control" placeholder="Username"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input name="password" type="password" class="form-control"/>
|
<label for="password">Password</label>
|
||||||
|
<input id="password" name="password" type="password" class="form-control" placeholder="Password"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button type="submit" class="btn btn-primary">
|
<button type="submit" class="btn btn-primary">
|
||||||
|
|
Reference in a new issue