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

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


@using (Html.BeginForm("Edit", "PublicReferenceFile", FormMethod.Post, new { enctype = "multipart/form-data" })) { @Html.AntiForgeryToken()
@Html.ValidationSummary(true) @Html.HiddenFor(model => model.ID) @Html.HiddenFor(model => model.DownloadLink)
@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.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.DownloadLink, new { @class = "control-label docs-control-label col-xs-3" })
@Html.ActionLink(Resource.StaticLabelGlobal_Cancel, "Index", new { }, new { @class = "btn btn-default" })
}