diff --git a/Disco.Web/Areas/Config/Views/DeviceBatch/Create.cshtml b/Disco.Web/Areas/Config/Views/DeviceBatch/Create.cshtml index 614e73b4..c1c85096 100644 --- a/Disco.Web/Areas/Config/Views/DeviceBatch/Create.cshtml +++ b/Disco.Web/Areas/Config/Views/DeviceBatch/Create.cshtml @@ -5,21 +5,19 @@ } @using (Html.BeginForm()) { + @Html.ValidationSummary(false)
- + - - +
- Name: - Name: @Html.EditorFor(model => model.DeviceBatch.Name)
@Html.ValidationMessageFor(model => model.DeviceBatch.Name)
- Purchase Date: - @Html.EditorFor(model => model.DeviceBatch.PurchaseDate)
@Html.ValidationMessageFor(model => model.DeviceBatch.PurchaseDate) +
Purchase Date: + @Html.EditorFor(model => model.DeviceBatch.PurchaseDate)
@Html.ValidationMessageFor(model => model.DeviceBatch.PurchaseDate)
diff --git a/Disco.Web/Areas/Config/Views/DeviceBatch/Create.generated.cs b/Disco.Web/Areas/Config/Views/DeviceBatch/Create.generated.cs index ae6f36ef..4f460ce8 100644 --- a/Disco.Web/Areas/Config/Views/DeviceBatch/Create.generated.cs +++ b/Disco.Web/Areas/Config/Views/DeviceBatch/Create.generated.cs @@ -59,6 +59,20 @@ WriteLiteral("\r\n"); #line 6 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" using (Html.BeginForm()) { + + + #line default + #line hidden + + #line 8 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" +Write(Html.ValidationSummary(false)); + + + #line default + #line hidden + + #line 8 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" + #line default @@ -69,13 +83,13 @@ WriteLiteral(" class=\"form\""); WriteLiteral(" style=\"width: 450px\""); -WriteLiteral(">\r\n \r\n \r\n \r\n
\r\n N" + -"ame:\r\n \r\n"); +WriteLiteral(">\r\n \r\n \r\n \r\n " + +" \r\n \r\n \r\n \r\n Purchase Date:\r\n \r\n "); +">Purchase Date:\r\n \r\n \r\n WriteLiteral("
"); - #line 22 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" + #line 20 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" Write(Html.ValidationMessageFor(model => model.DeviceBatch.PurchaseDate)); @@ -141,7 +156,7 @@ WriteLiteral(@"> "); - #line 40 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" + #line 38 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" }
Name:\r\n"); WriteLiteral(" "); - #line 15 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" + #line 14 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" Write(Html.EditorFor(model => model.DeviceBatch.Name)); @@ -84,18 +98,19 @@ WriteLiteral(" "); WriteLiteral("
"); - #line 15 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" + #line 14 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" Write(Html.ValidationMessageFor(model => model.DeviceBatch.Name)); #line default #line hidden WriteLiteral("\r\n
\r\n"); + +WriteLiteral(" "); - #line 22 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" + #line 20 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" Write(Html.EditorFor(model => model.DeviceBatch.PurchaseDate)); @@ -104,7 +119,7 @@ WriteLiteral("\r\n