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:
Aristeidis Bampakos 2021-03-09 13:33:07 +02:00 committed by Andrew Kushnir
parent f281310d39
commit a730315fb2
2 changed files with 4 additions and 4 deletions

View File

@ -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 -->

View File

@ -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>