]>
Commit | Line | Data |
---|---|---|
629d8d6f C |
1 | <h3>Account</h3> |
2 | ||
3 | <div *ngIf="information" class="alert alert-success">{{ information }}</div> | |
4 | <div *ngIf="error" class="alert alert-danger">{{ error }}</div> | |
5 | ||
4b2f33f3 | 6 | <form role="form" (ngSubmit)="changePassword()" [formGroup]="form"> |
629d8d6f C |
7 | <div class="form-group"> |
8 | <label for="new-password">New password</label> | |
9 | <input | |
4b2f33f3 C |
10 | type="password" class="form-control" id="new-password" |
11 | formControlName="new-password" | |
629d8d6f | 12 | > |
4b2f33f3 C |
13 | <div *ngIf="formErrors['new-password']" class="alert alert-danger"> |
14 | {{ formErrors['new-password'] }} | |
629d8d6f C |
15 | </div> |
16 | </div> | |
17 | ||
18 | <div class="form-group"> | |
19 | <label for="name">Confirm new password</label> | |
20 | <input | |
4b2f33f3 C |
21 | type="password" class="form-control" id="new-confirmed-password" |
22 | formControlName="new-confirmed-password" | |
629d8d6f C |
23 | > |
24 | </div> | |
25 | ||
4b2f33f3 | 26 | <input type="submit" value="Change password" class="btn btn-default" [disabled]="!form.valid"> |
629d8d6f | 27 | </form> |