source: PostgreSqlDotnetCore/Views/Products/Delete.cshtml

main
Last change on this file was 2639fab, checked in by ElenaMoskova <elena.moskova99@…>, 3 months ago

Update with triggers

  • Property mode set to 100644
File size: 1.7 KB
Line 
1@model PostgreSqlDotnetCore.Models.ProductsClass
2
3@{
4 ViewBag.Title = "Delete";
5}
6
7<h2>Delete</h2>
8
9<h3>Are you sure you want to delete this?</h3>
10<div>
11 <h4>ProductsClass</h4>
12 <hr />
13 <dl class="dl-horizontal">
14 <dt>
15 @Html.DisplayNameFor(model => model.name)
16 </dt>
17
18 <dd>
19 @Html.DisplayFor(model => model.name)
20 </dd>
21 <dt>
22 @Html.DisplayNameFor(model => model.description)
23 </dt>
24
25 <dd>
26 @Html.DisplayFor(model => model.description)
27 </dd>
28
29 <dt>
30 @Html.DisplayNameFor(model => model.price)
31 </dt>
32
33 <dd>
34 @Html.DisplayFor(model => model.price)
35 </dd>
36 <dt>
37 @Html.DisplayNameFor(model => model.isactive)
38 </dt>
39
40 <dd>
41 @Html.DisplayFor(model => model.isactive)
42 </dd>
43 <dt>
44 @Html.DisplayNameFor(model => model.dateadded)
45 </dt>
46
47 <dd>
48 @Html.DisplayFor(model => model.dateadded)
49 </dd>
50 <dt>
51 @Html.DisplayNameFor(model => model.category)
52 </dt>
53
54 <dd>
55 @Html.DisplayFor(model => model.category)
56 </dd>
57
58 <dt>
59 @Html.DisplayNameFor(model => model.available_quantity)
60 </dt>
61
62 <dd>
63 @Html.DisplayFor(model => model.available_quantity)
64 </dd>
65
66
67 </dl>
68
69 @using (Html.BeginForm()) {
70 @Html.AntiForgeryToken()
71
72 <div class="form-actions no-color">
73 <input type="submit" value="Delete" class="btn btn-default" /> |
74 @Html.ActionLink("Back to List", "Index")
75 </div>
76 }
77</div>
Note: See TracBrowser for help on using the repository browser.