Skip to content

Commit

Permalink
Add errors list to Products/Create view
Browse files Browse the repository at this point in the history
  • Loading branch information
ahanusa committed Dec 24, 2015
1 parent 94494d6 commit 4890c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orders.com.Web.MVC/Views/Products/Create.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
<div class="form-group">
@*@Html.Partial("_ErrorsList", Model.Errors)*@
@Html.Partial("_ErrorsList", Model.Errors)
@Html.LabelFor(model => model.Name, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.Name, new { htmlAttributes = new { @class = "form-control" } })
Expand Down

0 comments on commit 4890c39

Please sign in to comment.