docs: use double quotes in Tour of Heroes (pt1) (#41134)
Use double quotes to be consistent across the component template PR Close #41134
This commit is contained in:
parent
f281310d39
commit
a730315fb2
|
@ -10,7 +10,7 @@
|
|||
|
||||
<!-- #docregion name-input -->
|
||||
<div>
|
||||
<label for='name'>Hero name: </label>
|
||||
<input id='name' [(ngModel)]="hero.name" placeholder="name">
|
||||
<label for="name">Hero name: </label>
|
||||
<input id="name" [(ngModel)]="hero.name" placeholder="name">
|
||||
</div>
|
||||
<!-- #enddocregion name-input -->
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
<!-- #enddocregion pipe -->
|
||||
<div><span>id: </span>{{hero.id}}</div>
|
||||
<div>
|
||||
<label for='name'>Hero name: </label>
|
||||
<input id='name' [(ngModel)]="hero.name" placeholder="name">
|
||||
<label for="name">Hero name: </label>
|
||||
<input id="name" [(ngModel)]="hero.name" placeholder="name">
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue