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 19 20 21 22 23 24 25 26 | 1x | <div class="register" fxLayout="row" fxLayoutAlign="center center">
<mat-card>
<mat-card-header fxLayoutAlign="center center">
<mat-card-title>Register</mat-card-title>
</mat-card-header>
<form class="register-form" [formGroup]="form" (ngSubmit)="submit()">
<mat-card-content fxLayout="column">
<mat-form-field fxFlex>
<input matInput placeholder="First name" formControlName="firstName">
</mat-form-field>
<mat-form-field fxFlex>
<input matInput placeholder="Last name" formControlName="lastName">
</mat-form-field>
<mat-form-field fxFlex>
<input matInput placeholder="Email" formControlName="email">
</mat-form-field>
<mat-form-field fxFlex>
<input matInput placeholder="Password" formControlName="password">
</mat-form-field>
</mat-card-content>
<button mat-raised-button color="primary" type="submit" [disabled]="form.invalid">Submit</button>
<span *ngIf="onError" class="error ml2">An error occurred</span>
</form>
</mat-card>
</div>
|