+
Articolo
+
+ @Html.ValidationSummary(true, "", new { @class = "text-danger" })
+ @Html.HiddenFor(model => model.ID)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+}
+
+@section Scripts {
+ @Scripts.Render("~/bundles/jqueryval")
+}
+
diff --git a/StockManMVC/Views/Items/_Edit.cshtml b/StockManMVC/Views/Items/_Edit.cshtml
index 341e9fd..c966206 100644
--- a/StockManMVC/Views/Items/_Edit.cshtml
+++ b/StockManMVC/Views/Items/_Edit.cshtml
@@ -7,7 +7,7 @@
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
-
+
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.HiddenFor(model => model.ID)
@@ -89,6 +89,17 @@
}
+
+
+
@section Scripts {
@Scripts.Render("~/bundles/jqueryval")
}
diff --git a/StockManMVC/Views/Shared/_Layout.cshtml b/StockManMVC/Views/Shared/_Layout.cshtml
index d7b52ac..94843e7 100644
--- a/StockManMVC/Views/Shared/_Layout.cshtml
+++ b/StockManMVC/Views/Shared/_Layout.cshtml
@@ -100,10 +100,12 @@
@Scripts.Render("~/bundles/bootstrap")
*@
@RenderSection("scripts", required: false)