Comment in data code

This commit is contained in:
kevinpauer
2022-03-19 22:11:29 +01:00
parent 9530d1b57f
commit 33c915f4be
5 changed files with 43 additions and 27 deletions

View File

@@ -53,6 +53,23 @@
</div>
</div>
</div>
<div class="form-group">
<label for="password">Confirm Password</label>
<input
type="password"
class="form-control"
name="passwordRepeat"
[(ngModel)]="form.password"
required
minlength="6"
#passwordRepeat="ngModel"
/>
<div class="alert-danger" *ngIf="password.errors && f.submitted">
<div *ngIf="passwordRepeat.errors?.['required']">
Confirmation is required
</div>
</div>
</div>
<div class="form-group">
<button class="btn btn-primary btn-block">Sign Up</button>
</div>