17 lines
691 B
HTML
17 lines
691 B
HTML
<form [formGroup]="registrationForm" class="registration-form">
|
|
<h2>Player Registration</h2>
|
|
|
|
<mat-form-field appearance="fill">
|
|
<mat-label>Username</mat-label>
|
|
<input formControlName="username" matInput type="text" required>
|
|
<mat-error> Username is required! </mat-error>
|
|
</mat-form-field>
|
|
|
|
<mat-form-field appearance="fill">
|
|
<mat-label>Password</mat-label>
|
|
<input formControlName="password" matInput type="password" required>
|
|
<mat-error> Password is required! </mat-error>
|
|
</mat-form-field>
|
|
|
|
<button mat-flat-button (click)="registerPlayer()">Register</button>
|
|
</form>
|