NIHVIVO-2280: Styled 'reset password' page.
This commit is contained in:
parent
b9aa914074
commit
9c9f7dfe57
1 changed files with 13 additions and 15 deletions
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
<h3>Reset your Password</h3>
|
<h3>Reset your Password</h3>
|
||||||
|
|
||||||
|
<p>Please enter your new password for ${userAccount.emailAddress}</p>
|
||||||
|
|
||||||
<#if errorPasswordIsEmpty??>
|
<#if errorPasswordIsEmpty??>
|
||||||
<#assign errorMessage = "No password supplied." />
|
<#assign errorMessage = "No password supplied." />
|
||||||
</#if>
|
</#if>
|
||||||
|
@ -24,26 +26,22 @@
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<section id="reset-password" role="region">
|
<section id="reset-password" role="region">
|
||||||
<fieldset>
|
<form method="POST" action="${formUrls.resetPassword}" class="customForm" role="create password">
|
||||||
<legend>Please enter your new password for ${userAccount.emailAddress}</legend>
|
<input type="hidden" name="user" value="${userAccount.emailAddress}" />
|
||||||
|
<input type="hidden" name="key" value="${userAccount.passwordLinkExpiresHash}" />
|
||||||
|
|
||||||
<form method="POST" action="${formUrls.resetPassword}" class="customForm" role="create password">
|
<label for="new-password">Password<span class="requiredHint"> *</span></label>
|
||||||
<input type="hidden" name="user" value="${userAccount.emailAddress}" />
|
<input type="password" name="newPassword" value="${newPassword}" id="new-password" role="input" />
|
||||||
<input type="hidden" name="key" value="${userAccount.passwordLinkExpiresHash}" />
|
|
||||||
|
|
||||||
<label for="new-password">Password<span class="requiredHint"> *</span></label>
|
<p class="note">Minimum of ${minimumLength} characters in length.</p>
|
||||||
<input type="password" name="newPassword" value="${newPassword}" id="new-password" role="input "/>
|
|
||||||
|
|
||||||
<p>Minimum of ${minimumLength} characters in length.</p>
|
<label for="confirm-password">Confirm Password<span class="requiredHint"> *</span></label>
|
||||||
|
<input type="password" name="confirmPassword" value="${confirmPassword}" id="confirm-password" role="input" />
|
||||||
|
|
||||||
<label for="confirm-password">Confirm Password<span class="requiredHint"> *</span></label>
|
<p><input type="submit" name="submit" value="Save changes" class="submit" /></p>
|
||||||
<input type="password" name="confirmPassword" value="${confirmPassword}" id="confirm-password" role="input "/>
|
|
||||||
|
|
||||||
<input type="submit" name="submit" value="Save changes" class="submit"/>
|
<p class="requiredHint">* required fields</p>
|
||||||
|
</form>
|
||||||
<p class="requiredHint">* required fields</p>
|
|
||||||
</form>
|
|
||||||
</fieldset>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
${stylesheets.add('<link rel="stylesheet" href="${urls.base}/edit/forms/css/customForm.css" />')}
|
${stylesheets.add('<link rel="stylesheet" href="${urls.base}/edit/forms/css/customForm.css" />')}
|
Loading…
Add table
Reference in a new issue