Skip to content

Commit

Permalink
Merge pull request #1712 from DuendeSoftware/ka-fix-userCode-id
Browse files Browse the repository at this point in the history
Fix incorrect 'for' attribute in userCode inputs
  • Loading branch information
khalidabuhakmeh authored Jan 8, 2025
2 parents b501fd8 + 368fe3a commit aeb1fc3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<form asp-page="/Device/Index" method="get">
<div class="form-group">
<label for="userCode">User Code:</label>
<input class="form-control" for="userCode" name="userCode" autofocus />
<input class="form-control" id="userCode" name="userCode" autofocus />
</div>

<button class="btn btn-primary" name="button">Submit</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<form asp-page="/Device/Index" method="get">
<div class="form-group">
<label for="userCode">User Code:</label>
<input class="form-control" for="userCode" name="userCode" autofocus />
<input class="form-control" id="userCode" name="userCode" autofocus />
</div>

<button class="btn btn-primary" name="button">Submit</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<form asp-page="/Device/Index" method="get">
<div class="form-group">
<label for="userCode">User Code:</label>
<input class="form-control" for="userCode" name="userCode" autofocus />
<input class="form-control" id="userCode" name="userCode" autofocus />
</div>

<button class="btn btn-primary" name="button">Submit</button>
Expand Down
2 changes: 1 addition & 1 deletion identity-server/hosts/main/Pages/Device/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<form asp-page="/Device/Index" method="get">
<div class="form-group">
<label for="userCode">User Code:</label>
<input class="form-control" for="userCode" name="userCode" autofocus />
<input class="form-control" id="userCode" name="userCode" autofocus />
</div>

<button class="btn btn-primary" name="button">Submit</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<form asp-page="/Device/Index" method="get">
<div class="form-group">
<label for="userCode">User Code:</label>
<input class="form-control" for="userCode" name="userCode" autofocus />
<input class="form-control" id="userCode" name="userCode" autofocus />
</div>

<button class="btn btn-primary" name="button">Submit</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<form asp-page="/Device/Index" method="get">
<div class="form-group">
<label for="userCode">User Code:</label>
<input class="form-control" for="userCode" name="userCode" autofocus />
<input class="form-control" id="userCode" name="userCode" autofocus />
</div>

<button class="btn btn-primary" name="button">Submit</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<form asp-page="/Device/Index" method="get">
<div class="form-group">
<label for="userCode">User Code:</label>
<input class="form-control" for="userCode" name="userCode" autofocus />
<input class="form-control" id="userCode" name="userCode" autofocus />
</div>

<button class="btn btn-primary" name="button">Submit</button>
Expand Down

0 comments on commit aeb1fc3

Please sign in to comment.