1 <div class=
"margin-content">
2 <div i18n
class=
"title-page title-page-single">
6 <form role=
"form" (ngSubmit)=
"resetPassword()" [formGroup]=
"form">
7 <div class=
"form-group">
8 <label i18n
for=
"password">Password
</label>
10 type=
"password" name=
"password" id=
"password" i18n-placeholder
placeholder=
"Password" required
autocomplete=
"new-password"
11 formControlName=
"password" [ngClass]=
"{ 'input-error': formErrors['password'] }"
13 <div *
ngIf=
"formErrors.password" class=
"form-error">
14 {{ formErrors.password }}
18 <div class=
"form-group">
19 <label i18n
for=
"password-confirm">Confirm password
</label>
21 type=
"password" name=
"password-confirm" id=
"password-confirm" i18n-placeholder
placeholder=
"Confirmed password" required
autocomplete=
"new-password"
22 formControlName=
"password-confirm" [ngClass]=
"{ 'input-error': formErrors['password-confirm'] }"
24 <div *
ngIf=
"formErrors['password-confirm']" class=
"form-error">
25 {{ formErrors['password-confirm'] }}
29 <input type=
"submit" i18n-value
value=
"Reset my password" [disabled]=
"!form.valid || !isConfirmedPasswordValid()">