Translation and fix for editing project task
[wsti_pai.git] / Projects / Views / Projects / Delete.cshtml
1 @model Projects.Models.Project
2
3 @{
4     ViewBag.Title = "Usunięcie projektu";
5 }
6
7 <h2>@ViewBag.Title</h2>
8
9 <h3>Czy na pewno chcesz to usunąć?</h3>
10 <div>
11     <h4>Projekt</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.User.login)
48         </dt>
49
50         <dd>
51             @Html.DisplayFor(model => model.User.login)
52         </dd>
53
54     </dl>
55
56     @using (Html.BeginForm()) {
57         @Html.AntiForgeryToken()
58
59         <div class="form-actions no-color">
60             <input type="submit" value="Usuń" class="btn btn-default" /> |
61             @Html.ActionLink("Powrót do listy", "Index")
62         </div>
63     }
64 </div>