angular-docs-cn/aio/content/examples/reactive-forms/src/app/hero-detail-1.component.html
2017-03-28 10:21:46 +01: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-->