@using FHT.Utilities @using FHT.Management.Interfaces.ViewModels @using FHT.Management.Interfaces.InputModels @model AuditInputModel @{ ViewBag.Title = "帖子审核详情"; Layout = "~/Views/Shared/_Layout.cshtml"; var topicPost = (FHT.Core.UI.ViewModels.TopicPost.TopicPostViewModel)ViewBag.TopicPost; var reasons = new List { "无", "色情低俗", "政治敏感", "广告骚扰", "谣言", "欺诈骗钱", "内容侵权", "违法(暴力恐怖/违禁品)", "其他", }; var evaluation = (EvaluationDetailViewModel)ViewBag.Evaluation; } @using (Ajax.BeginForm("AuditTopicPost", "Audit", new AjaxOptions { HttpMethod = "Post", OnSuccess = "agencyGlobal.OnAuditDetailSuccess" }, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken() @Html.HiddenFor(m => m.Id)
@topicPost.Title
@topicPost.TopicType.Name
if (topicPost.PicUrls.Any()) {
@foreach (var picUrl in topicPost.PicUrls) { }
} if (!string.IsNullOrEmpty(topicPost.Content.OriginalHtml)) {
@Html.Raw(topicPost.Content.OriginalHtml)
}
@Html.RequiredLabelFor(m => m.Score)
@Html.TextBoxFor(m => m.Score, new { @class = "form-control", style = "width:10%;" }) @Html.ValidationMessageFor(m => m.Score)
} @section scripts { @Scripts.Render("~/bundles/audit/detail") }