Initial commit
[wsti_pai.git] / Projects / Views / Projects / Delete.cshtml
1 @model Projects.Models.Project
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>Project</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.ProjectUser.login)
48         </dt>
49
50         <dd>
51             @Html.DisplayFor(model => model.ProjectUser.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="Delete" class="btn btn-default" /> |
61             @Html.ActionLink("Back to List", "Index")
62         </div>
63     }
64 </div>