@using Resources @using Weee.Models.ExtensionMethods @model Qcarbon.ViewModels.DTO.ARnGWProwViewModel @{ ViewBag.Title = Resource.StaticLabelNonYearlyParameterMaintain; Layout = "~/Areas/admin/Views/Shared/_AdminLayout.cshtml"; }

@Resource.StaticLabelGlobal_Edit


@using (Html.BeginForm()) { @Html.HiddenFor(model=>model.cmd) @Html.AntiForgeryToken()
@Html.ValidationSummary(true)
@Html.LabelFor(model => model.ingredientName, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.ingredientName, new { htmlAttributes = new { @class = "form-control", @required = "required" } }) @Html.ValidationMessageFor(model => model.ingredientName, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.chemicalFormula, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.chemicalFormula, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.chemicalFormula, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.GWP100, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.GWP100, new { htmlAttributes = new { @class = "form-control", @required = "required" } }) @Html.ValidationMessageFor(model => model.GWP100, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.ChineseName, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.ChineseName, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.ChineseName, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.Alias, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.Alias, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Alias, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.GHGType, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.GHGType, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.GHGType, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.GWPtype, new { @class = "control-label docs-control-label col-xs-3" })
@Html.DropDownListFor(model => model.GWPtype, (IEnumerable)ViewBag.selectGWPparameterType, new { @class = "form-control", @required = "required" }) @**@
@Html.ActionLink(Resource.StaticLabelGlobal_Cancel, null, null, new { @class = "btn btn-default", href = Request.UrlReferrer , onclick="$('#cmd).val('cancel');this.form.submit();" })
}