All files / app/page/settings/password password.component.html

70% Statements 14/20
50% Branches 2/4
0% Functions 0/1
75% Lines 9/12

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 192x 1x 2x   1x 1x   2x         1x 1x 2x        
@if (passwordForm) {
  <form class="form"
        [formGroup]="passwordForm"
        (ngSubmit)="save()">
    <label for="password" i18n>Password:</label>
    <input id="password" type="password" formControlName="password">
 
    @for (e of serverError; track e) {
      <span><!-- Unexpected Error --></span>
      <div class="error">{{ e }}</div>
    }
 
    <span><!-- Buttons --></span>
      <span class="buttons right">
      <button type="submit" [disabled]="submitted && !passwordForm.valid" i18n>Save</button>
    </span>
  </form>
}