Add missing for attributes on profile html form (#202)

This commit is contained in:
Arseniy authored and GitHub committed 2024-03-11 19:30:12 -04:00
1 parent eca8ccc613
commit 734b1b97ac
1 file changed
+10 -6
+10 -6
View File
@@ -10,17 +10,21 @@
<div class="form">
<div class="col">
<div class="row">
<label>Username</label><input readonly value="{{ profile.user.username }}">
<label for="username">Username</label>
<input id="username" readonly value="{{ profile.user.username }}">
</div>
<div class="row">
<label>Email</label><input value="{{ profile.user.email }}" name="email">
<label for="email">Email</label>
<input id="email" value="{{ profile.user.email }}" name="email">
</div>
<div class="row">
<label>New Password</label><input type="password" name="password1">
<label for="password1">New Password</label>
<input id="password1" type="password" name="password1">
</div>
<div class="row">
<label>New Password</label><input type="password" name="password2">
<label for="password2">New Password</label>
<input id="password2" type="password" name="password2">
</div>
<input class="anchorbutton btn-blue w-100" type="submit" value="Update Profile">
</div>
@@ -37,8 +41,8 @@
<!-- Display engines which have repos already defined -->
{% for engine, repo in profile.repos.items %}
<div class="row" id="engine-row-{{ engine }}">
<label>{{ engine }}</label>
<input type="text" name="engine-repo-{{engine}}" value="{{ repo|removePrefix:'https://github.com/' }}">
<label for="engine-repo-{{engine}}">{{ engine }}</label>
<input id="engine-repo-{{engine}}" type="text" name="engine-repo-{{engine}}" value="{{ repo|removePrefix:'https://github.com/' }}">
<span>
<input id="radio-{{engine}}" type="radio" name="default-status" value="{{engine}}"