Skip to content

Commit

Permalink
Fix incorrect attribute in userCode input fields
Browse files Browse the repository at this point in the history
Replaced the erroneous "for" attribute with the correct "id" attribute in the userCode input fields across multiple Device/Index.cshtml files in the templates directory.
  • Loading branch information
khalidabuhakmeh committed Jan 8, 2025
1 parent ba49710 commit 368fe3a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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

0 comments on commit 368fe3a

Please sign in to comment.