Project

General

Profile

1
<form [formGroup]="myForm">
2
    <div class="form-group" [ngClass]="{'has-error':!myForm.controls.name.valid && myForm.controls.name.dirty}">
3
        <label for="communityNameTag">*Community Name</label>
4
        <input type="text" class="form-control" formControlName="name" id="pageNameTag" placeholder="Community Name">
5
    </div>
6
    <div class="form-group" [ngClass]="{'has-error':!myForm.controls.pid.valid && myForm.controls.pid.dirty}">
7
        <label for="communityPidTag">*Community persistent id for portal</label>
8
        <input type="text" class="uk-input uk-width-medium" formControlName="pid" id="communityPidTag" placeholder="Community Pid">
9
    </div>
10
    <input type="hidden" formControlName="_id">
11
</form>
(3-3/4)