This repository has been archived on 2023-10-28. You can view files and clone it, but cannot push or open issues or pull requests.
pwt-0x01-ng/Areas/Admin/Views/Orders/Delete.cshtml
surtur 9bed70352e
All checks were successful
continuous-integration/drone/push Build is passing
{User_id,Price_total} in Order {controller,views}
2021-02-10 11:38:55 +01:00

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>