Wrong highlight lines on sample9.cshtml (#2781)

pull/2792/head
a-iafrate 2017-02-16 23:58:13 +01:00 committed by Rick Anderson
parent 2d7892ac0c
commit 6b193e952e
1 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ Open the *\Views\Movies\Index.cshtml* file and add a `<th>Rating</th>` column he
Next, open the *\Views\Movies\Create.cshtml* file and add the `Rating` field with the following highlighed markup. This renders a text box so that you can specify a rating when a new movie is created.
[!code-cshtml[Main](adding-a-new-field/samples/sample9.cshtml?highlight=17-21)]
[!code-cshtml[Main](adding-a-new-field/samples/sample9.cshtml?highlight=9-15)]
You've now updated the application code to support the new `Rating` property.
@ -185,4 +185,4 @@ In this section you saw how you can modify model objects and keep the database i
>[!div class="step-by-step"]
[Previous](adding-search.md)
[Next](adding-validation.md)
[Next](adding-validation.md)