@using Weee.Models.Paramemter @using Weee.Models.ExtensionMethods @using Resources @model Weee.Models.Paramemter.YearlyParameterArea @{ ViewBag.Title = Resource.StaticLabelYearlyParameterMaintain; Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml"; var category = (Categories)ViewBag.Category; }

@Resource.StaticLabelYearlyParameterCategoryEditArea - @category.DisplayString()


@using (Html.BeginForm()) { @Html.AntiForgeryToken() @Html.HiddenFor(model => model.ID) @Html.HiddenFor(model =>model.CategoryID)
@Html.ValidationSummary(true)
@Html.LabelFor(model => model.DisplayNameTW, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.DisplayNameTW, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.DisplayNameTW, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.DisplayNameCN, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.DisplayNameCN, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.DisplayNameCN, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.DisplayNameEN, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.DisplayNameEN, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.DisplayNameEN, "", new { @class = "text-danger" })
@Html.ActionLink(Resource.StaticLabelGlobal_Delete, "DeleteArea", "YearlyParameterCategory", new { a = Model.ID, category = category }, new { @class = "btn btn-default" }) @Html.ActionLink(Resource.StaticLabelGlobal_Cancel, "Index", "YearlyParameter", new { c = category }, new { @class = "btn btn-default" })
}