UX: move optional to the description text for the password field

This commit is contained in:
Arpit Jalan 2017-06-16 15:32:15 +05:30
parent f8a46c510f
commit 77e886ec90
2 changed files with 3 additions and 2 deletions

View File

@ -41,7 +41,7 @@
{{password-field value=accountPassword type="password" id="new-account-password" capsLockOn=capsLockOn}} {{password-field value=accountPassword type="password" id="new-account-password" capsLockOn=capsLockOn}}
 {{input-tip validation=passwordValidation}}  {{input-tip validation=passwordValidation}}
<div class="instructions"> <div class="instructions">
{{passwordInstructions}} {{passwordInstructions}} {{i18n 'invites.optional_description'}}
<div class="caps-lock-warning {{unless capsLockOn 'invisible'}}"><i class="fa fa-exclamation-triangle"></i> {{i18n 'login.caps_lock_warning'}}</div> <div class="caps-lock-warning {{unless capsLockOn 'invisible'}}"><i class="fa fa-exclamation-triangle"></i> {{i18n 'login.caps_lock_warning'}}</div>
</div> </div>
</div> </div>

View File

@ -1097,7 +1097,8 @@ en:
accept_invite: "Accept Invitation" accept_invite: "Accept Invitation"
success: "Your account has been created and you're now logged in." success: "Your account has been created and you're now logged in."
name_label: "Name" name_label: "Name"
password_label: "Set Password (optional)" password_label: "Set Password"
optional_description: "(optional)"
password_reset: password_reset:
continue: "Continue to %{site_name}" continue: "Continue to %{site_name}"