1
0
Fork 0

Add labels and placeholders

This commit is contained in:
Alex Kotov 2020-10-16 07:37:03 +05:00
parent 1457e51417
commit 6975c36222
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
2 changed files with 8 additions and 4 deletions

View file

@ -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">

View file

@ -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">