@using Hospital.Core.Dict @model Hospital.Model.Models.Q_Roles @{ ViewBag.Title = "修改角色"; } @section head { @Styles.Render("~/Content/css/select2") } @using (Html.BeginForm("Edit", "Roles", new { @returnUrl = Request.QueryString["returnUrl"] }, FormMethod.Post, new { name = "myform", id = "myform" })) {
@Html.LabelFor(m => m.RolesName, new { @class = "control-label", @style = "width:100px;" })
@Html.TextBoxFor(m => m.RolesName, new { @class = "span2", @style = "width:350px;" }) @Html.ValidationMessageFor(m => m.RolesName)
@Html.LabelFor(m => m.RolesDescription, new { @class = "control-label", @style = "width:100px;" })
@Html.TextBoxFor(m => m.RolesDescription, new { @class = "span2", @style = "width:350px;" })
@Html.LabelFor(m => m.QuanxianChar, new { @class = "control-label", @style = "width:100px;" })
@Html.ListBoxFor(m => m.QuanxianChar, Hospital.Controllers.RolesController.GetAllStaticQuanxianList(), new { @style = "width:365px;" })
}
     返回
@section scripts{ @Scripts.Render("~/bundles/jquery/multiselect") }