source: PostgreSqlDotnetCore/Views/Pets/Delete.cshtml@ 118e414

main
Last change on this file since 118e414 was 8f8226c, checked in by ElenaMoskova <elena.moskova99@…>, 3 months ago

fix bugs and new pages

Fix BlogPostAnswers
fix present data in the lists

  • Property mode set to 100644
File size: 1.5 KB
Line 
1@model PostgreSqlDotnetCore.Models.PetsClass
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>PetsClass</h4>
12 <hr />
13 <dl class="dl-horizontal">
14
15 <dt>
16 @Html.DisplayNameFor(model => model.name)
17 </dt>
18
19 <dd>
20 @Html.DisplayFor(model => model.name)
21 </dd>
22 <dt>
23 @Html.DisplayNameFor(model => model.color)
24 </dt>
25
26 <dd>
27 @Html.DisplayFor(model => model.color)
28 </dd>
29 <dt>
30 @Html.DisplayNameFor(model => model.description)
31 </dt>
32
33 <dd>
34 @Html.DisplayFor(model => model.description)
35 </dd>
36 <dt>
37 @Html.DisplayNameFor(model => model.dateofbirthday)
38 </dt>
39
40 <dd>
41 @Html.DisplayFor(model => model.dateofbirthday)
42 </dd>
43 <dt>
44 @Html.DisplayNameFor(model => model.usersid)
45 </dt>
46
47 <dd>
48 @Html.DisplayFor(model => model.usersid)
49 </dd>
50 <dt>
51 @Html.DisplayNameFor(model => model.typeofpetsid)
52 </dt>
53
54 <dd>
55 @Html.DisplayFor(model => model.typeofpetsid)
56 </dd>
57 </dl>
58
59 @using (Html.BeginForm()) {
60 @Html.AntiForgeryToken()
61
62 <div class="form-actions no-color">
63 <input type="submit" value="Delete" class="btn btn-dark" /> |
64 @Html.ActionLink("Back to List", "Index")
65 </div>
66 }
67</div>
Note: See TracBrowser for help on using the repository browser.