@using TightWiki.Models @model TightWiki.Models.ViewModels.Admin.EmojiViewModel @{ 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 emoji "@Model?.OriginalName"?
Deleting the emoji "@Model?.OriginalName" will permanently remove the image. Any references to it will be orphaned. You will not be able to revert this deletion.

Are you sure you want to continue with this deletion?

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