@model StockManMVC.Models.Operator @{ ViewBag.Title = "Nuovo Operatore"; } @using (Html.BeginForm()) { @Html.AntiForgeryToken()
Crea nuovo Operatore
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.ID, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.ID, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.ID, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.CodExt, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.CodExt, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.CodExt, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.LastName, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.LastName, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.LastName, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.FirstName, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.FirstName, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.FirstName, "", new { @class = "text-danger" })
} @section Scripts { @Scripts.Render("~/bundles/jqueryval") }