yavsc/src/Yavsc/Views/Blogspot/Delete.cshtml

58 lines
1.4 KiB
Text
Raw Normal View History

2019-01-01 16:28:47 +00:00
@model BlogPost
@{
2023-03-20 09:13:16 +00:00
ViewData["Title"] = "Delete";
2019-01-01 16:28:47 +00:00
}
@section Scripts {
@{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
}
2023-03-20 09:13:16 +00:00
<h3>AreYourSureYouWantToDeleteThis</h3>
2019-01-01 16:28:47 +00:00
<div>
<h4>Blog</h4>
<hr />
<dl class="dl-horizontal">
<dt>
2025-02-23 20:23:23 +00:00
Author
2019-01-01 16:28:47 +00:00
</dt>
<dd>
@Model.Author
</dd>
<dt>
@Html.DisplayNameFor(model => model.Content)
</dt>
<dd>
@Html.DisplayFor(model => model.Content)
</dd>
<dt>
@Html.DisplayNameFor(model => model.DateModified)
</dt>
<dd>
@Html.DisplayFor(model => model.DateModified)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Photo)
</dt>
<dd>
@Html.DisplayFor(model => model.Photo)
</dd>
<dt>
@Html.DisplayNameFor(model => model.DateCreated)
</dt>
<dd>
@Html.DisplayFor(model => model.DateCreated)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Title)
</dt>
<dd>
@Html.DisplayFor(model => model.Title)
</dd>
</dl>
<form asp-action="Delete">
<div class="form-actions no-color">
2025-07-12 19:00:30 +01:00
<input type="submit" value="Delete" class="btn btn-primary" /> |
2023-03-20 09:13:16 +00:00
<a asp-action="Index">Back to List</a>
2019-01-01 16:28:47 +00:00
</div>
</form>
2023-03-20 09:13:16 +00:00
</div>