@model test.Models.User @{ ViewBag.Title = "Sign Up"; }

Sign Up

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

@Html.LabelFor(model => model.User_Name, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.User_Name, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.User_Name, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.User_LastName, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.User_LastName, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.User_LastName, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.User_PhoneNumber, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.User_PhoneNumber, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.User_PhoneNumber, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.User_Password, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.PasswordFor(model => model.User_Password, new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.User_Password, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.User_Status, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.User_Status, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.User_Status, "", new { @class = "text-danger" })
}