@model Fab2ApprovalSystem.Models.LoginModel @{ ViewBag.Title = "Edit"; }

Edit

@using (Html.BeginForm()) { @Html.AntiForgeryToken()

LoginModel


@Html.ValidationSummary(true) @Html.HiddenFor(model => model.UserID)
@Html.LabelFor(model => model.LoginID, new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.LoginID) @Html.ValidationMessageFor(model => model.LoginID)
@Html.LabelFor(model => model.FirstName, new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.FirstName) @Html.ValidationMessageFor(model => model.FirstName)
@Html.LabelFor(model => model.LastName, new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.LastName) @Html.ValidationMessageFor(model => model.LastName)
@Html.LabelFor(model => model.IsAdmin, new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.IsAdmin) @Html.ValidationMessageFor(model => model.IsAdmin)
}
@Html.ActionLink("Back to List", "Index")