connect-admin/app/pages/community/community-form.component.html

8 lines
382 B
HTML

<form [formGroup]="myForm">
<div class="form-group" [ngClass]="{'has-error':!myForm.controls.name.valid && myForm.controls.name.dirty}">
<label for="pageNameTag">Community Name</label>
<input type="text" class="form-control" formControlName="name" id="pageNameTag" placeholder="Community Name">
</div>
<input type="hidden" formControlName="_id">
</form>