@model Fab2ApprovalSystem.Models.LoginModel @{ ViewBag.Title = "Add User"; } @using (Html.BeginForm()) { @Html.AntiForgeryToken()

Add User


@Html.ValidationSummary(true) @*
@Html.LabelFor(model => model.UserID, new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.UserID) @Html.ValidationMessageFor(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")