#pragma warning disable 1591 //------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.18051 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace Disco.Web.Areas.Config.Views.DeviceBatch { using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Web; using System.Web.Helpers; using System.Web.Mvc; using System.Web.Mvc.Ajax; using System.Web.Mvc.Html; using System.Web.Routing; using System.Web.Security; using System.Web.UI; using System.Web.WebPages; using Disco.BI.Extensions; using Disco.Models.Repository; using Disco.Services.Authorization; using Disco.Services.Web; using Disco.Web; using Disco.Web.Extensions; [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")] [System.Web.WebPages.PageVirtualPathAttribute("~/Areas/Config/Views/DeviceBatch/Create.cshtml")] public partial class Create : Disco.Services.Web.WebViewPage { public Create() { } public override void Execute() { #line 2 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" Authorization.Require(Claims.Config.DeviceBatch.Create); ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Device Batches", MVC.Config.DeviceBatch.Index(null), "Create"); #line default #line hidden WriteLiteral("\r\n"); #line 6 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" using (Html.BeginForm()) { #line default #line hidden WriteLiteral(" \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Purchase Date:\r\n \r\n "); #line 22 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" Write(Html.EditorFor(model => model.DeviceBatch.PurchaseDate)); #line default #line hidden WriteLiteral("
"); #line 22 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" Write(Html.ValidationMessageFor(model => model.DeviceBatch.PurchaseDate)); #line default #line hidden WriteLiteral("\r\n \r\n
\r\n
\r\n N" + "ame:\r\n \r\n"); WriteLiteral(" "); #line 15 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" Write(Html.EditorFor(model => model.DeviceBatch.Name)); #line default #line hidden WriteLiteral("
"); #line 15 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" Write(Html.ValidationMessageFor(model => model.DeviceBatch.Name)); #line default #line hidden WriteLiteral("\r\n
\r\n \r\n \r\n

\r\n \r\n"); WriteLiteral(" $(function () { $('#Name').focus().select(); $('#PurchaseDate').datepicker({ changeYear: true, changeMonth: true, dateFormat: 'yy/mm/dd' }) }); "); #line 40 "..\..\Areas\Config\Views\DeviceBatch\Create.cshtml" } #line default #line hidden } } } #pragma warning restore 1591