Companion/src/app/registration-form/registration-form.component.html
Dorian Nemec b8ed11e94b
All checks were successful
Quality Check / Linting (pull_request) Successful in 24s
Quality Check / Linting (push) Successful in 24s
TD-29: Registration Form Created
2025-02-12 14:24:55 +01:00

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>