1 <div class=
"margin-content">
2 <h1 i18n
class=
"title-page">Reset my password
</h1>
4 <form role=
"form" (ngSubmit)=
"resetPassword()" [formGroup]=
"form">
5 <div class=
"form-group">
6 <label i18n
for=
"password">Password
</label>
9 formControlName=
"password" inputId=
"password" i18n-placeholder
placeholder=
"Password"
10 [ngClass]=
"{ 'input-error': formErrors['password'] }" autocomplete=
"new-password"
13 <div *
ngIf=
"formErrors.password" class=
"form-error">{{ formErrors.password }}
</div>
16 <div class=
"form-group">
17 <label i18n
for=
"password-confirm">Confirm password
</label>
20 formControlName=
"password-confirm" inputId=
"password-confirm" i18n-placeholder
placeholder=
"Confirmed password"
21 [ngClass]=
"{ 'input-error': formErrors['password-confirm'] }" autocomplete=
"new-password"
24 <div *
ngIf=
"formErrors['password-confirm']" class=
"form-error">{{ formErrors['password-confirm'] }}
</div>
28 class=
"peertube-button orange-button" type=
"submit" i18n-value
value=
"Reset my password"
29 [disabled]=
"!form.valid || !isConfirmedPasswordValid()"