@model BuildFeed.Models.Build @{ ViewBag.Title = "Add a Build | BuildFeed"; Html.EnableClientValidation(); Html.EnableUnobtrusiveJavaScript(); }

Add a Build

@using (Html.BeginForm()) { @Html.AntiForgeryToken()
@Html.ValidationSummary(true)
@Html.LabelFor(model => model.MajorVersion, new { @class = "control-label col-sm-2" })
@Html.TextBoxFor(model => model.MajorVersion, new { @class = "form-control" })
@Html.ValidationMessageFor(model => model.MajorVersion)
@Html.LabelFor(model => model.MinorVersion, new { @class = "control-label col-sm-2" })
@Html.TextBoxFor(model => model.MinorVersion, new { @class = "form-control" })
@Html.ValidationMessageFor(model => model.MinorVersion)
@Html.LabelFor(model => model.Number, new { @class = "control-label col-sm-2" })
@Html.TextBoxFor(model => model.Number, new { @class = "form-control" })
@Html.ValidationMessageFor(model => model.Number)
@Html.LabelFor(model => model.Revision, new { @class = "control-label col-sm-2" })
@Html.TextBoxFor(model => model.Revision, new { @class = "form-control" })
@Html.ValidationMessageFor(model => model.Revision)
@Html.LabelFor(model => model.Lab, new { @class = "control-label col-sm-2" })
@Html.TextBoxFor(model => model.Lab, new { @class = "form-control" })
@Html.ValidationMessageFor(model => model.Lab)
@Html.LabelFor(model => model.BuildTime, new { @class = "control-label col-sm-2" })
@Html.TextBoxFor(model => model.BuildTime, "{0:yyMMdd-HHmm}", new { @class = "form-control" })
@Html.ValidationMessageFor(model => model.BuildTime)
@Html.LabelFor(model => model.SourceType, new { @class = "control-label col-sm-2" })
@Html.EditorFor(model => model.SourceType, "Enumeration")
@Html.ValidationMessageFor(model => model.SourceType)
@Html.LabelFor(model => model.SourceDetails, new { @class = "control-label col-sm-2" })
@Html.TextAreaFor(model => model.SourceDetails, new { @class = "form-control", rows = "5" })
@Html.ValidationMessageFor(model => model.SourceDetails)
@Html.LabelFor(model => model.FlightLevel, new { @class = "control-label col-sm-2" })
@Html.EditorFor(model => model.FlightLevel, "Enumeration")
@Html.ValidationMessageFor(model => model.FlightLevel)
@Html.LabelFor(model => model.BetaWikiUri, new { @class = "control-label col-sm-2" })
@Html.TextBoxFor(model => model.BetaWikiUri, new { @class = "form-control" })
@Html.ValidationMessageFor(model => model.BetaWikiUri)
@Html.LabelFor(model => model.BetaWikiServerUri, new { @class = "control-label col-sm-2" })
@Html.TextBoxFor(model => model.BetaWikiServerUri, new { @class = "form-control" })
@Html.ValidationMessageFor(model => model.BetaWikiServerUri)
@Html.LabelFor(model => model.WinWorldPCUri, new { @class = "control-label col-sm-2" })
@Html.TextBoxFor(model => model.WinWorldPCUri, new { @class = "form-control" })
@Html.ValidationMessageFor(model => model.WinWorldPCUri)
@Html.LabelFor(model => model.BetaArchiveUri, new { @class = "control-label col-sm-2" })
@Html.TextBoxFor(model => model.BetaArchiveUri, new { @class = "form-control" })
@Html.ValidationMessageFor(model => model.BetaArchiveUri)
@Html.LabelFor(model => model.LonghornMsUri, new { @class = "control-label col-sm-2" })
@Html.TextBoxFor(model => model.LonghornMsUri, new { @class = "form-control" })
@Html.ValidationMessageFor(model => model.LonghornMsUri)
} @section Scripts { @Scripts.Render("~/bundles/jqueryval") }