@model TDC.Web.Models.Account.UserModel
@using (Ajax.BeginForm("edit", null, new AjaxOptions { HttpMethod = "Post", OnSuccess = "editUserOnSuccess" }, htmlAttributes: new { id = "editUserForm" })) { @Html.AntiForgeryToken() @Html.ValidationSummary(true)
@Html.HiddenFor(m => m.UserId)
@Html.LabelFor(m => m.UserName, htmlAttributes: new { @class = "col-md-3 control-label" })
@Html.TextBoxFor(m => m.UserName, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(m => m.UserName)
@Html.LabelFor(m => m.ClientId, htmlAttributes: new { @class = "col-md-3 control-label" })
@Html.DropDownListFor(m => m.ClientId, (SelectList)ViewBag.ClientSelectList, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(m => m.ClientId)
@Html.LabelFor(m => m.IsActive, htmlAttributes: new { @class = "col-md-3 control-label" })
@Html.CheckBoxFor(m => m.IsActive, htmlAttributes: new { @style = "margin-top:10px;" })
}