You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.0 KiB
22 lines
1.0 KiB
5 months ago
|
<h2 mat-dialog-title>{{ 'layouts.admin.password.title' | translate }}</h2>
|
||
|
<div mat-dialog-content>
|
||
|
<form #form autocomplete="off" [formGroup]="formGroup">
|
||
|
<mat-form-field>
|
||
|
<mat-label>{{ 'layouts.admin.password.current' | translate }}</mat-label>
|
||
|
<input matInput type="password" formControlName="current" required>
|
||
|
</mat-form-field>
|
||
|
<mat-form-field>
|
||
|
<mat-label>{{ 'layouts.admin.password.replacement' | translate }}</mat-label>
|
||
|
<input matInput type="password" formControlName="replacement" required>
|
||
|
</mat-form-field>
|
||
|
<mat-form-field>
|
||
|
<mat-label>{{ 'layouts.admin.password.confirm' | translate }}</mat-label>
|
||
|
<input matInput type="password" formControlName="confirm" required>
|
||
|
</mat-form-field>
|
||
|
</form>
|
||
|
</div>
|
||
|
<div mat-dialog-actions align="end">
|
||
|
<button mat-button color="primary" [disabled]="formGroup.invalid" (click)="change()">{{ 'shared.dialog.ok' | translate | uppercase }}</button>
|
||
|
<button mat-button mat-dialog-close>{{ 'shared.dialog.cancel' | translate | uppercase }}</button>
|
||
|
</div>
|