8d352560e93cd51bfe798c2bcc0d8447f598fc10
[wsti_pai.git] / Projects / Views / ProjectTasks / Delete.cshtml
1 @model Projects.Models.ProjectTask
2
3 @{
4     ViewBag.Title = "Usunięcie zadania";
5 }
6
7 <h2>@ViewBag.Title</h2>
8
9 <h3>Czy na pewno chcesz to usunąć?</h3>
10 <div>
11     <h4>Zadanie</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
22         <dt>
23             @Html.DisplayNameFor(model => model.description)
24         </dt>
25
26         <dd>
27             @Html.DisplayFor(model => model.description)
28         </dd>
29
30         <dt>
31             @Html.DisplayNameFor(model => model.created_at)
32         </dt>
33
34         <dd>
35             @Html.DisplayFor(model => model.created_at)
36         </dd>
37
38         <dt>
39             @Html.DisplayNameFor(model => model.updated_at)
40         </dt>
41
42         <dd>
43             @Html.DisplayFor(model => model.updated_at)
44         </dd>
45
46         <dt>
47             @Html.DisplayNameFor(model => model.Project.name)
48         </dt>
49
50         <dd>
51             @Html.DisplayFor(model => model.Project.name)
52         </dd>
53
54         <dt>
55             @Html.DisplayNameFor(model => model.TaskStatus.status)
56         </dt>
57
58         <dd>
59             @Html.DisplayFor(model => model.TaskStatus.status)
60         </dd>
61
62         <dt>
63             @Html.DisplayNameFor(model => model.User.login)
64         </dt>
65
66         <dd>
67             @Html.DisplayFor(model => model.User.login)
68         </dd>
69
70     </dl>
71
72     @using (Html.BeginForm()) {
73         @Html.AntiForgeryToken()
74
75         <div class="form-actions no-color">
76             <input type="submit" value="Usuń" class="btn btn-default" /> |
77             @Html.ActionLink("Powrót do listy", "Index")
78         </div>
79     }
80 </div>