From 6b193e952e4411df9d74727af447c95140dedb3d Mon Sep 17 00:00:00 2001 From: a-iafrate Date: Thu, 16 Feb 2017 23:58:13 +0100 Subject: [PATCH] Wrong highlight lines on sample9.cshtml (#2781) --- .../getting-started/introduction/adding-a-new-field.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnet/mvc/overview/getting-started/introduction/adding-a-new-field.md b/aspnet/mvc/overview/getting-started/introduction/adding-a-new-field.md index b2da72b4de..e91b39f764 100644 --- a/aspnet/mvc/overview/getting-started/introduction/adding-a-new-field.md +++ b/aspnet/mvc/overview/getting-started/introduction/adding-a-new-field.md @@ -119,7 +119,7 @@ Open the *\Views\Movies\Index.cshtml* file and add a `Rating` 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) \ No newline at end of file +[Next](adding-validation.md)