Wrong highlight lines on sample9.cshtml (#2781)
parent
2d7892ac0c
commit
6b193e952e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue