Skip to content

Commit

Permalink
fix: correct form tag syntax in login and registration pages; add mis…
Browse files Browse the repository at this point in the history
…sing label for username
  • Loading branch information
upayanmazumder committed Jan 7, 2025
1 parent 385ad03 commit 0727475
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/login/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h1>Smart Home System</h1>

<main>
<h1>Login</h1>
<form">
<form>
<label for="username">Username</label>
<input type="text" id="username" name="username" required>
<br>
Expand All @@ -49,7 +49,7 @@ <h1>Login</h1>
<br>
<button type="submit">Login</button>
<a href="/registration">Don't have an account yet? Sign up!</a>
</form>
</form>
</main>

<footer>
Expand Down
1 change: 1 addition & 0 deletions app/routes/registration/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ <h1>Smart Home System</h1>
<main>
<h1>Signup</h1>
<form>
<label for="username">Username</label>
<input type="text" id="username" name="username" required>
<br>
<label for="email">Email</label>
Expand Down

0 comments on commit 0727475

Please sign in to comment.