angular-cn/public/docs/_examples/reactive-forms/ts/app/hero-detail-1.component.html
2017-01-31 17:36:32 -08:00

9 lines
223 B
HTML

<!-- #docregion simple-control-->
<h2>Hero Detail</h2>
<h3><i>Just a FormControl</i></h3>
<label class="center-block">Name:
<input class="form-control" [formControl]="name">
</label>
<!-- #enddocregion simple-control-->