Skip to content

Commit

Permalink
[Build Image] Update : Form input changed Floating labels style
Browse files Browse the repository at this point in the history
  • Loading branch information
StarTrooper08 committed Jan 4, 2024
1 parent 8f53d87 commit 07358a7
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@
<div class="container my-3">
<h3> Add Task </h3>
<form action="/" method="POST">
<div class="mb-3">
<label for="task" class="form-label">Task</label>
<input type="text" class="form-control" name="title" id="title" required/>

<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" id="title" placeholder="Task">
<label for="floatingInput">Task</label>
</div>
<div class="mb-3">
<label for="desc" class="form-label">Description</label>
<input type="text" class="form-control" name="desc" id="desc" />
<div class="form-floating mb-3">
<input type="text" class="form-control" name="desc" id="desc" placeholder="Description">
<label for="floatingPassword">Description</label>
</div>

<button type="submit" class="btn btn-dark">Add Task</button>
</form>
</div>
Expand Down

0 comments on commit 07358a7

Please sign in to comment.