@using Resources @model Weee.Models.PCR @{ ViewBag.Title = Resource.StaticLabelPCRList; Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml"; }

@(Model.ID == 0 ? Resource.StaticLabelGlobal_New : Resource.StaticLabelGlobal_Edit) - PCR


@using (Html.BeginForm()) { @Html.AntiForgeryToken()
@Html.ValidationSummary(true) @Html.HiddenFor(model => model.ID)
@Html.LabelFor(model => model.Percentage, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.Percentage, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Percentage, "", new { @class = "text-danger" })
@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.LabelFor(model => model.version, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.version, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.version, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Description, new { @class = "control-label docs-control-label col-xs-3" })
@Html.TextAreaFor(model => model.Description, new { @class = "form-control", rows = "4" }) @Html.ValidationMessageFor(model => model.Description, "", new { @class = "text-danger" })
@Html.ActionLink(Resource.StaticLabelGlobal_Cancel, "Index", new { }, new { @class = "btn btn-default" })
}