Add focus on email or new password fields. Also updated validation message for password length when creating a new password NIHVIVO-227
This commit is contained in:
parent
4b2da00daf
commit
bb08bef23f
4 changed files with 11 additions and 10 deletions
|
@ -16,10 +16,10 @@ ${stylesheets.addFromTheme("/login.css")}
|
|||
|
||||
<form action="${formAction}" method="post">
|
||||
<label for="newPassword">New Password</label>
|
||||
<input type="password" name="newPassword" />
|
||||
<p class="passwordNote">Please enter a password with more than 5 characters</p>
|
||||
<input id="newPassword" class="focus" type="password" name="newPassword" />
|
||||
<p class="passwordNote">Minimum of 6 characters in length.</p>
|
||||
<label for="confirmPassword">Confirm Password</label>
|
||||
<input type="password" name="confirmPassword" />
|
||||
<input id="confirmPassword" type="password" name="confirmPassword" />
|
||||
<input name="passwordChangeForm" type="submit" class="submit" value="Save Changes"/>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
@ -30,9 +30,9 @@ ${stylesheets.addFromTheme("/login.css")}
|
|||
|
||||
<form action="${formAction}" method="post">
|
||||
<label for="loginName">Email</label>
|
||||
<input name="loginName" type="text" value="${loginName}" />
|
||||
<input id="loginName" class="focus" name="loginName" type="text" value="${loginName}" />
|
||||
<label for="loginPassword">Password</label>
|
||||
<input type="password" name="loginPassword" />
|
||||
<input id="loginPassword" type="password" name="loginPassword" />
|
||||
<input name="loginForm" type="submit" class="submit" value="Log in"/>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue