@@ -7,28 +7,15 @@ <h1 class="mb-6 flex items-center text-center text-2xl"><mat-icon class="mr-2" s
7
7
< mat-form-field class ="gt-xs:pr-3 flex-auto ">
8
8
< mat-label > {{ t('Current Password') }} </ mat-label >
9
9
< input [formControlName] ="'currentPassword' " type ="password " matInput [type] ="hide() ? 'password' : 'text' " />
10
- < button
11
- mat-icon-button
12
- matSuffix
13
- (click) ="clickEvent($event) "
14
- [attr.aria-label] ="'Hide password' "
15
- [attr.aria-pressed] ="hide() "
16
- >
10
+ < button mat-icon-button matSuffix (click) ="clickEvent($event) " [attr.aria-label] ="'Hide password' " [attr.aria-pressed] ="hide() ">
17
11
< mat-icon class ="icon-size-5 " [svgIcon] ="hide() ? 'fa-solid:eye-slash' : 'fa-solid:eye' "> </ mat-icon >
18
12
</ button >
19
13
</ mat-form-field >
20
14
21
-
22
15
< mat-form-field class ="gt-xs:pl-3 mb-6 flex-auto ">
23
16
< mat-label > {{ t('New Password') }}</ mat-label >
24
17
< input [formControlName] ="'newPassword' " type ="password " matInput [type] ="hide() ? 'password' : 'text' " />
25
- < button
26
- mat-icon-button
27
- matSuffix
28
- (click) ="clickEvent($event) "
29
- [attr.aria-label] ="'Hide password' "
30
- [attr.aria-pressed] ="hide() "
31
- >
18
+ < button mat-icon-button matSuffix (click) ="clickEvent($event) " [attr.aria-label] ="'Hide password' " [attr.aria-pressed] ="hide() ">
32
19
< mat-icon class ="icon-size-5 " [svgIcon] ="hide() ? 'fa-solid:eye-slash' : 'fa-solid:eye' "> </ mat-icon >
33
20
</ button >
34
21
< mat-hint > {{
@@ -45,13 +32,7 @@ <h1 class="mb-6 flex items-center text-center text-2xl"><mat-icon class="mr-2" s
45
32
< mat-form-field class ="flex-auto ">
46
33
< mat-label > {{ t('Confirm New Password') }}</ mat-label >
47
34
< input [formControlName] ="'confirmNewPassword' " type ="password " matInput [type] ="hide() ? 'password' : 'text' " />
48
- < button
49
- mat-icon-button
50
- matSuffix
51
- (click) ="clickEvent($event) "
52
- [attr.aria-label] ="'Hide password' "
53
- [attr.aria-pressed] ="hide() "
54
- >
35
+ < button mat-icon-button matSuffix (click) ="clickEvent($event) " [attr.aria-label] ="'Hide password' " [attr.aria-pressed] ="hide() ">
55
36
< mat-icon class ="icon-size-5 " [svgIcon] ="hide() ? 'fa-solid:eye-slash' : 'fa-solid:eye' "> </ mat-icon >
56
37
</ button >
57
38
<!-- this isn't working reliably -->
0 commit comments