@model StockManMVC.Models.Location @{ ViewBag.Title = "Nuova Posizione"; } @using (Html.BeginForm()) { @Html.AntiForgeryToken()
Crea nuova Posizione
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Descr, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Descr, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Descr, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.LocTypeID, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("LocTypeID", null, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.LocTypeID, "", new { @class = "text-danger" })
} @section Scripts { @Scripts.Render("~/bundles/jqueryval") }