1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

i18n page strings

This commit is contained in:
McMatts 2022-03-04 13:07:11 -05:00
parent 4ab48cc67d
commit 59dc6ea991
29 changed files with 125 additions and 107 deletions

View file

@ -1,18 +1,17 @@
<div class="login-form">
<form {{action "reset" on="submit"}}>
<div class="form-group">
<label>New Password</label>
<label>{{localize 'password_new'}}</label>
{{focus-input type="password" value=password id="newPassword" autocomplete="new-password" class=(if hasPasswordError "form-control is-invalid" "form-control")}}
<small class="form-text text-muted">Choose a strong password</small>
<small class="form-text text-muted">{{localize 'password_strong'}}</small>
</div>
<div class="form-group">
<label>Confirm Password</label>
<label>{{localize 'confirm_password'}}</label>
{{input type="password" value=passwordConfirm id="passwordConfirm" autocomplete="new-password" class=(if hasConfirmError "form-control is-invalid" "form-control")}}
<small class="form-text text-muted">Please type your new password again</small>
</div>
<div class="margin-top-10 margin-bottom-20">
{{ui/ui-button color=constants.Color.Green light=true label=(localize 'reset') onClick=(action "reset")}}
<span class="{{unless mustMatch "d-none"}} color-red-600 margin-left-20">Passwords must match</span>
<span class="{{unless mustMatch "d-none"}} color-red-600 margin-left-20">{{localize 'password_match'}}</span>
</div>
</form>
</div>