forked from wanderer/pwt-0x01-ng
52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
@model pwt_0x01_ng.Models.Order
|
|
|
|
@{
|
|
ViewData["Title"] = "Delete";
|
|
}
|
|
<h2>@ViewData["Title"]</h2>
|
|
<h3>@ViewData["Message"]</h3>
|
|
|
|
<h3>Are you sure you want to delete this?</h3>
|
|
<div>
|
|
<h4>Order</h4>
|
|
<hr />
|
|
<dl class="row">
|
|
<dt class = "col-sm-2">
|
|
@Html.DisplayNameFor(model => model.Order_Number)
|
|
</dt>
|
|
<dd class = "col-sm-10">
|
|
@Html.DisplayFor(model => model.Order_Number)
|
|
</dd>
|
|
<dt class = "col-sm-2">
|
|
@Html.DisplayNameFor(model => model.User_id)
|
|
</dt>
|
|
<dd class = "col-sm-10">
|
|
@Html.DisplayFor(model => model.User_id)
|
|
</dd>
|
|
<dt class = "col-sm-2">
|
|
@Html.DisplayNameFor(model => model.Price_total)
|
|
</dt>
|
|
<dd class = "col-sm-10">
|
|
@Html.DisplayFor(model => model.Price_total)
|
|
</dd>
|
|
<dt class = "col-sm-2">
|
|
@Html.DisplayNameFor(model => model.Created)
|
|
</dt>
|
|
<dd class = "col-sm-10">
|
|
@Html.DisplayFor(model => model.Created)
|
|
</dd>
|
|
<dt class = "col-sm-2">
|
|
@Html.DisplayNameFor(model => model.Updated)
|
|
</dt>
|
|
<dd class = "col-sm-10">
|
|
@Html.DisplayFor(model => model.Updated)
|
|
</dd>
|
|
</dl>
|
|
|
|
<form asp-action="Delete">
|
|
<input type="hidden" asp-for="id" />
|
|
<input type="submit" value="Delete" class="btn btn-danger" /> |
|
|
<a asp-action="Index">Back to List</a>
|
|
</form>
|
|
</div>
|