<div class="center">
  <form class="big-frame background-border" #accountForm="ngForm" (ngSubmit)="onSubmit()">

    <h3>Reset Password</h3>
    <h2>User: {{ UserName }}</h2>

    <div class="frame-item">
      <input type="password" [(ngModel)]="Password" name="Password" placeholder=" " />
      <label>New Password</label>
    </div>

    <div class="frame-item">
      <input type="password" [(ngModel)]="PassworR" name="PassworR" placeholder=" " />
      <label>Repeat New Password</label>
    </div>

    <div>
      <div class="flex-row">
        <div class="frame-button">
          <input class="submit" type="submit" value="Send Code" />
        </div>
      </div>
    </div>

    <ul *ngIf="errorMsgs.length > 0" >
      <li *ngFor="let msg of errorMsgs" >{{ msg }}</li>
    </ul>
  </form>
</div>