yavsc/Yavsc/Views/Blogspot/Delete.cshtml

79 lines
1.9 KiB
Plaintext

@model Yavsc.Models.Blog
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Delete</title>
</head>
<body>
<h3>Are you sure you want to delete this?</h3>
<div>
<h4>Blog</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@SR["Author"]
</dt>
<dd>
@Model.Author
</dd>
<dt>
@Html.DisplayNameFor(model => model.bcontent)
</dt>
<dd>
@Html.DisplayFor(model => model.bcontent)
</dd>
<dt>
@Html.DisplayNameFor(model => model.modified)
</dt>
<dd>
@Html.DisplayFor(model => model.modified)
</dd>
<dt>
@Html.DisplayNameFor(model => model.photo)
</dt>
<dd>
@Html.DisplayFor(model => model.photo)
</dd>
<dt>
@Html.DisplayNameFor(model => model.posted)
</dt>
<dd>
@Html.DisplayFor(model => model.posted)
</dd>
<dt>
@Html.DisplayNameFor(model => model.rate)
</dt>
<dd>
@Html.DisplayFor(model => model.rate)
</dd>
<dt>
@Html.DisplayNameFor(model => model.title)
</dt>
<dd>
@Html.DisplayFor(model => model.title)
</dd>
<dt>
@Html.DisplayNameFor(model => model.visible)
</dt>
<dd>
@Html.DisplayFor(model => model.visible)
</dd>
</dl>
<form asp-action="Delete">
<div class="form-actions no-color">
<input type="submit" value="Delete" class="btn btn-default" /> |
<a asp-action="Index">Back to List</a>
</div>
</form>
</div>
@section Scripts {
@{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
}
</body>
</html>