Passage à ASP.NET vNext
This commit is contained in:
parent
ea90fefc31
commit
388b004837
1929 changed files with 104611 additions and 235941 deletions
78
Yavsc/Views/Blogspot/Delete.cshtml
Normal file
78
Yavsc/Views/Blogspot/Delete.cshtml
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
@model YavscWeb.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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue