Skip to content

Commit

Permalink
examples: add missing html label associations
Browse files Browse the repository at this point in the history
closes #4884
  • Loading branch information
Hashen110 authored and dougwilson committed Apr 11, 2022
1 parent b91c7ff commit 8880dda
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/auth/views/login.ejs
Expand Up @@ -6,12 +6,12 @@
Try accessing <a href="/restricted">/restricted</a>, then authenticate with "tj" and "foobar".
<form method="post" action="/login">
<p>
<label>Username:</label>
<input type="text" name="username">
<label for="username">Username:</label>
<input type="text" name="username" id="username">
</p>
<p>
<label>Password:</label>
<input type="text" name="password">
<label for="password">Password:</label>
<input type="text" name="password" id="password">
</p>
<p>
<input type="submit" value="Login">
Expand Down

0 comments on commit 8880dda

Please sign in to comment.