@using FHT.Agency.UI.InputModels @using FHT.Utilities @model UpdateUserInputModel @{ ViewBag.Title = "修改用户"; } @using (Html.BeginForm("ChangeUserProfile", "Account", null, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) {
@Html.AntiForgeryToken() @Html.ValidationSummary(false, "", new { @class = "text-danger" }) @Html.HiddenFor(m => m.UserId)
@Html.RequiredLabelFor(m => m.DescriptiveName, new { @class = "col-md-2 control-label" })
@Html.EditorFor(m => m.DescriptiveName) @Html.ValidationMessageFor(m => m.DescriptiveName)
@Html.RequiredLabelFor(m => m.Mobile, new { @class = "col-md-2 control-label" })
@Html.EditorFor(m => m.Mobile) @Html.ValidationMessageFor(m => m.Mobile)
@Html.RequiredLabelFor(m => m.Telephone, new { @class = "col-md-2 control-label" })
@Html.EditorFor(m => m.Telephone) @Html.ValidationMessageFor(m => m.Telephone)
@Html.RequiredLabelFor(m => m.AvatarUrl, new { @class = "col-md-2 control-label" })
@**@ @Html.TextBoxFor(m => m.AvatarUrl, new { @class = "image-uploader hidden", data_requiredwidth = 50, data_requiredheight = 50 }) @*@Html.EditorFor(m => m.AvatarUrl,null, new { @class= "image-Uploader hidden" , data_width=50,data_height=50 } )*@ @**@
} @section scripts { @Scripts.Render("~/bundles/userProfile") }