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

@Resource.StaticLabelGlobal_Edit - @Model.Category.DisplayString()


@using (Html.BeginForm()) { @Html.AntiForgeryToken() @Html.HiddenFor(model => model.Category)
@Html.ValidationSummary(true)
@Html.LabelFor(model => model.ToBeEdited.DisplayNameTW, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.ToBeEdited.DisplayNameTW, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.ToBeEdited.DisplayNameTW, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.ToBeEdited.DisplayNameCN, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.ToBeEdited.DisplayNameCN, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.ToBeEdited.DisplayNameCN, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.ToBeEdited.DisplayNameEN, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.ToBeEdited.DisplayNameEN, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.ToBeEdited.DisplayNameEN, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.ToBeEdited.activityDataType, new { @class = "control-label docs-control-label col-xs-3" }) @**@
@Html.DropDownListFor(model => model.ToBeEdited.activityDataType, (IEnumerable)ViewBag.activityItems, new { @class = "form-control" }) @**@
@Html.LabelFor(model => model.ToBeEdited.emitParaType, new { @class = "control-label docs-control-label col-xs-3" }) @**@
@Html.DropDownListFor(model => model.ToBeEdited.emitParaType, (IEnumerable)ViewBag.emitParaItems, new { @class = "form-control" }) @**@
@Html.LabelFor(model => model.NewVersion.Value, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.NewVersion.Value, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.NewVersion.Value, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.NewVersion.CO2Value, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.NewVersion.CO2Value, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.NewVersion.CO2Value, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.NewVersion.CH4Value, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.NewVersion.CH4Value, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.NewVersion.CH4Value, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.NewVersion.N2OValue, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.NewVersion.N2OValue, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.NewVersion.N2OValue, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.NewVersion.HFCsValue, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.NewVersion.HFCsValue, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.NewVersion.HFCsValue, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.NewVersion.PFCsValue, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.NewVersion.PFCsValue, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.NewVersion.PFCsValue, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.NewVersion.SF6Value, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.NewVersion.SF6Value, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.NewVersion.SF6Value, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.NewVersion.NF3Value, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.NewVersion.NF3Value, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.NewVersion.NF3Value, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.ToBeEdited.paraSource, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.ToBeEdited.paraSource, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.ToBeEdited.paraSource, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.NewVersion.Description, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.NewVersion.Description, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.NewVersion.Description, null, new { @class = "text-danger" })
@Html.ActionLink(Resource.StaticLabelGlobal_Cancel, "Index", new { c = Model.Category }, new { @class = "btn btn-default" })

@Resource.Log


    @foreach (var history in Model.History) {
  1. @history.Value @Resource.BulidDate: @history.CreateTime @Resource.ParameterDescription: @history.Description
  2. }
}