Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @using (Html.BeginForm()
- {
- <div class="form-horizontal">
- @Html.AntiForgeryToken()
- @Html.ValidationSummary(true, "", new { @class = "text-danger" })
- <div class="form-group has-feedback">
- <div class="float:left">
- @Html.Label("First Name:", htmlAttributes: new { @class = "control-label col-md-2", @for = "fname" })
- <div class="col-md-3">
- @Html.EditorFor(model => model.Person.fName, new { htmlAttributes = new { @class = "form-control" }, name = "fname", id = "fname" })
- </div>
- </div>
- .has-error input {background-color:red;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement