Skip to content

Instantly share code, notes, and snippets.

@debugmodedotnet
Created October 6, 2015 11:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save debugmodedotnet/09e981a2bf337cbbd123 to your computer and use it in GitHub Desktop.
Save debugmodedotnet/09e981a2bf337cbbd123 to your computer and use it in GitHub Desktop.
<div class="form-group">
@Html.LabelFor(model => model.StudentType, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EnumDropDownListFor(model => model.StudentType, htmlAttributes: new { @class = "form-control" })
@Html.ValidationMessageFor(model => model.StudentType, "", new { @class = "text-danger" })
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment