bfb55218fab34084fa45b915521fdc130feabb21
[oweals/peertube.git] /
1 <div *ngIf="error" class="alert alert-danger">{{ error }}</div>
2
3 <form role="form" (ngSubmit)="changePassword()" [formGroup]="form">
4   <input
5     type="password" class="form-control" id="new-password" placeholder="Old password"
6     formControlName="new-password"
7   >
8   <div *ngIf="formErrors['new-password']" class="alert alert-danger">
9     {{ formErrors['new-password'] }}
10   </div>
11
12   <input
13     type="password" id="new-confirmed-password" placeholder="New password"
14     formControlName="new-confirmed-password"
15   >
16
17   <input type="submit" value="Change password" [disabled]="!form.valid">
18 </form>