validation summary

This commit is contained in:
Michael 2017-05-20 21:05:58 -04:00
parent 0839905422
commit 526034510b

View file

@ -21,6 +21,12 @@
{ {
@Html.AntiForgeryToken() @Html.AntiForgeryToken()
<div class="panel panel-danger">
<div class="panel-body">
@Html.ValidationSummary()
</div>
</div>
<dl> <dl>
<dt>Contest name:</dt> <dt>Contest name:</dt>
<dd>@Html.TextBoxFor(Model=>Model.Name, new { @class = "form-control" })</dd> <dd>@Html.TextBoxFor(Model=>Model.Name, new { @class = "form-control" })</dd>