25 lines
691 B
HTML
25 lines
691 B
HTML
<mat-card class="card">
|
|
|
|
<form [formGroup]="registerForm" (ngSubmit)="register()">
|
|
|
|
<mat-form-field>
|
|
<mat-label>Username</mat-label>
|
|
<input required matInput formControlName="username">
|
|
</mat-form-field>
|
|
|
|
<mat-form-field>
|
|
<mat-label>Password</mat-label>
|
|
<input required type="password" matInput formControlName="password">
|
|
</mat-form-field>
|
|
|
|
<mat-form-field>
|
|
<mat-label>Repeat Password</mat-label>
|
|
<input required type="password" matInput formControlName="repeatPassword">
|
|
</mat-form-field>
|
|
|
|
<button mat-button>Register</button>
|
|
|
|
</form>
|
|
|
|
<button mat-button [routerLink]="'/auth/login'">Login instead</button>
|
|
</mat-card> |