Validation for purpose select box working

This commit is contained in:
2013-03-03 20:43:13 -05:00
parent e911dfced7
commit 9f0e5f7b1d
6 changed files with 30 additions and 20 deletions
@@ -3,4 +3,4 @@
Layout = "~/Views/Shared/EditorTemplates/_FieldLayout.cshtml";
ViewData.ModelMetadata.DisplayName = "Purpose";
}
@Html.DropDownListFor(m => m.Selected, Model.Available)
@Html.DropDownListFor(m => m.Selected, Model.Available, string.Empty)