@using FHT.Utilities @using FHT.Management.Interfaces.ViewModels @using FHT.Management.Interfaces.InputModels @model AuditInputModel @{ ViewBag.Title = "文章审核详情"; Layout = "~/Views/Shared/_Layout.cshtml"; var article = (FHT.Core.UI.ViewModels.Article.ArticleViewModel)ViewBag.Article; var reasons = new List { "无", "色情低俗", "政治敏感", "广告骚扰", "谣言", "欺诈骗钱", "内容侵权", "违法(暴力恐怖/违禁品)", "其他"}; var evaluation = (EvaluationDetailViewModel)ViewBag.Evaluation; } @using (Ajax.BeginForm("AuditArticle", "Audit", new AjaxOptions { HttpMethod = "Post", OnSuccess = "agencyGlobal.OnAuditDetailSuccess" }, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken() @Html.HiddenFor(m => m.Id)
@article.Title
@Html.Raw( article.Summary)
@Html.RequiredLabelFor(m => m.Remark)
@Html.TextAreaFor(m => m.Remark, new { @class = "form-control"}) @Html.ValidationMessageFor(m => m.Remark)
@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") }