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

@(Model.ID == 0 ? Resource.Create : Resource.StaticLabelGlobal_Edit) @Resource.News


@using (Html.BeginForm()) { @Html.AntiForgeryToken()
@Html.ValidationSummary(true) @Html.HiddenFor(model => model.ID)
@Html.LabelFor(model => model.CreatedTime, new { @class = "control-label docs-control-label col-xs-3" })
@Model.CreatedTime
@Html.LabelFor(model => model.UpdatedTime, new { @class = "control-label docs-control-label col-xs-3" })
@Model.UpdatedTime
@Html.LabelFor(model => model.Note, new { @class = "control-label docs-control-label col-xs-3" })
@Html.EditorFor(model => model.Note, new { htmlAttributes = new { @class = "form-control" }})
@Html.LabelFor(model => model.DisplayNameTW, new { @class = "control-label docs-control-label col-xs-3" })
@Html.TextAreaFor(model => model.DisplayNameTW, new { @class = "form-control", rows = "9"}) @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.TextAreaFor(model => model.DisplayNameCN, new { @class = "form-control", rows = "9" })
@Html.LabelFor(model => model.DisplayNameEN, new { @class = "control-label docs-control-label col-xs-3" })
@Html.TextAreaFor(model => model.DisplayNameEN, new { @class = "form-control", rows = "9" })
@Html.ActionLink(Resource.StaticLabelGlobal_Cancel, "Index", new { }, new { @class = "btn btn-default" })
}