ui/src/app/auth/register/register.component.html
2025-06-02 19:12:18 +02:00

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>