Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2015
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. @using (Html.BeginForm()
  2. {
  3. <div class="form-horizontal">
  4. @Html.AntiForgeryToken()
  5. @Html.ValidationSummary(true, "", new { @class = "text-danger" })
  6. <div class="form-group has-feedback">
  7. <div class="float:left">
  8. @Html.Label("First Name:", htmlAttributes: new { @class = "control-label col-md-2", @for = "fname" })
  9. <div class="col-md-3">
  10. @Html.EditorFor(model => model.Person.fName, new { htmlAttributes = new { @class = "form-control" }, name = "fname", id = "fname" })
  11. </div>
  12. </div>
  13.  
  14. .has-error input {background-color:red;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement