From 22aa9d21883cbb8a0ab604bda816aceb914fbdd0 Mon Sep 17 00:00:00 2001 From: Rick Anderson Date: Tue, 6 Nov 2018 17:04:18 -1000 Subject: [PATCH 1/2] Update page1.md --- aspnetcore/includes/RP/page1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/includes/RP/page1.md b/aspnetcore/includes/RP/page1.md index d4ca6e8903be..2b2ae8d331ba 100644 --- a/aspnetcore/includes/RP/page1.md +++ b/aspnetcore/includes/RP/page1.md @@ -51,7 +51,7 @@ The `DisplayNameFor` HTML Helper inspects the `Title` property referenced in the [!code-cshtml[](~/tutorials/razor-pages/razor-pages-start/snapshot_sample/RazorPagesMovie/Pages/Movies/Index.cshtml?range=1-2&highlight=2)] -The `@model` directive specifies the type of the model passed to the Razor Page. In the preceding example, the `@model` line makes the `PageModel`-derived class available to the Razor Page. The model is used in the `@Html.DisplayNameFor` and `@Html.DisplayName` [HTML Helpers](/aspnet/mvc/overview/older-versions-1/views/creating-custom-html-helpers-cs#understanding-html-helpers) on the page. +The `@model` directive specifies the type of the model passed to the Razor Page. In the preceding example, the `@model` line makes the `PageModel`-derived class available to the Razor Page. The model is used in the `@Html.DisplayNameFor` and `@Html.DisplayFor` [HTML Helpers](/aspnet/mvc/overview/older-versions-1/views/creating-custom-html-helpers-cs#understanding-html-helpers) on the page.