2017-12-20 15:26:30 +01:00
|
|
|
<form [formGroup]="myForm">
|
|
|
|
<div class="form-group" [ngClass]="{'has-error':!myForm.controls.name.valid && myForm.controls.name.dirty}">
|
2018-10-30 16:31:16 +01:00
|
|
|
<label for="communityNameTag">*Community Name</label>
|
2017-12-20 15:26:30 +01:00
|
|
|
<input type="text" class="form-control" formControlName="name" id="pageNameTag" placeholder="Community Name">
|
|
|
|
</div>
|
2018-01-24 16:45:12 +01:00
|
|
|
<div class="form-group" [ngClass]="{'has-error':!myForm.controls.pid.valid && myForm.controls.pid.dirty}">
|
2018-10-30 16:31:16 +01:00
|
|
|
<label for="communityPidTag">*Community persistent id for portal</label>
|
2018-01-24 16:45:12 +01:00
|
|
|
<input type="text" class="uk-input uk-width-medium" formControlName="pid" id="communityPidTag" placeholder="Community Pid">
|
|
|
|
</div>
|
2017-12-20 15:26:30 +01:00
|
|
|
<input type="hidden" formControlName="_id">
|
|
|
|
</form>
|