Fix a typo in "How validation works" paragraph (#3902)
The text said "The follow code...", when I think it was meant to be "The following code..."pull/3907/head
parent
15430a9f8a
commit
bc2150d03c
|
@ -41,7 +41,7 @@ The form data is not sent to the server until there are no client side validatio
|
|||
|
||||
## How validation works
|
||||
|
||||
You might wonder how the validation UI was generated without any updates to the code in the controller or views. The follow code shows the two `Create` methods.
|
||||
You might wonder how the validation UI was generated without any updates to the code in the controller or views. The following code shows the two `Create` methods.
|
||||
|
||||
[!code-csharp[Main](../../tutorials/first-mvc-app/start-mvc//sample/MvcMovie/Controllers/MoviesController.cs?name=snippetCreate)]
|
||||
|
||||
|
|
Loading…
Reference in New Issue