source: PostgreSqlDotnetCore/Views/Products/Details.cshtml

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

Update with triggers

  • Property mode set to 100644
File size: 1.5 KB
Line 
1@model PostgreSqlDotnetCore.Models.ProductsClass
2
3@{
4 ViewBag.Title = "Details";
5}
6
7<h2>Details</h2>
8
9<div>
10 <h4>ProductsClass</h4>
11 <hr />
12 <dl class="dl-horizontal">
13 <dt>
14 @Html.DisplayNameFor(model => model.name)
15 </dt>
16
17 <dd>
18 @Html.DisplayFor(model => model.name)
19 </dd>
20
21 <dt>
22 @Html.DisplayNameFor(model => model.description)
23 </dt>
24 <dd>
25 @Html.DisplayFor(model => model.description)
26 </dd>
27
28 <dt>
29 @Html.DisplayNameFor(model => model.price)
30 </dt>
31
32 <dd>
33 @Html.DisplayFor(model => model.price)
34 </dd>
35 <dt>
36 @Html.DisplayNameFor(model => model.isactive)
37 </dt>
38
39 <dd>
40 @Html.DisplayFor(model => model.isactive)
41 </dd>
42 <dt>
43 @Html.DisplayNameFor(model => model.dateadded)
44 </dt>
45
46 <dd>
47 @Html.DisplayFor(model => model.dateadded)
48 </dd>
49 <dt>
50 @Html.DisplayNameFor(model => model.category)
51 </dt>
52
53 <dd>
54 @Html.DisplayFor(model => model.category)
55 </dd>
56
57 <dt>
58 @Html.DisplayNameFor(model => model.available_quantity)
59 </dt>
60
61 <dd>
62 @Html.DisplayFor(model => model.available_quantity)
63 </dd>
64
65 </dl>
66</div>
67<p>
68 @Html.ActionLink("Edit", "Edit", new { id = Model.id }) |
69 @Html.ActionLink("Back to List", "Index")
70</p>
Note: See TracBrowser for help on using the repository browser.