@using TightWiki.Models @model TightWiki.Models.ViewModels.Page.PageDeleteViewModel @{ Layout = "/Views/Shared/_Layout.cshtml"; var sessionState = ViewData["SessionState"] as TightWiki.SessionState ?? throw new Exception("Wiki State Context cannot be null."); } @if (!string.IsNullOrEmpty(Model.ErrorMessage)) {
@Html.Raw(Model.ErrorMessage)
} @if (!string.IsNullOrEmpty(Model.SuccessMessage)) {
@Html.Raw(Model.SuccessMessage)
} @if (string.IsNullOrEmpty(Model.ErrorMessage)) {
Delete page "@Model.PageName"?
页面 "@Model.PageName" 将被删除,所有修订和附件也将被删除。 此操作只能由管理员或主持人撤消。

您确定要继续此删除操作吗?

@using (Html.BeginForm(null, null, FormMethod.Post, new { action = $"{GlobalConfiguration.BasePath}{Context.Request.Path}" })) {
  
}
}