Commit 10247541 authored by Siedschlag, Lennart's avatar Siedschlag, Lennart
Browse files

register validation

parent 3bb92743
Pipeline #6277 passed with stage
in 4 minutes and 34 seconds
<div *ngIf="user != null">
<h3>Register</h3>
<form>
<form #registerForm="ngForm">
<div class="form-group">
<label for="nickname">Nickname&nbsp;*</label>
<input type="text" class="form-control" id="nickname" required placeholder="Nickname"
......@@ -57,7 +57,7 @@
</div>
<button type="button" class="btn btn-success" (click)="register()">Register</button>
<button type="button" [disabled]="!registerForm.form.valid" class="btn btn-success" (click)="register()">Register</button>
<button type="button" class="btn btn-danger" (click)="cancel()">Cancel</button>
</form>
</div>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment