Update Models according to DB change
[wsti_pai.git] / Projects / Views / Projects / Details.cshtml
1 @model Projects.Models.Project
2
3 @{
4     ViewBag.Title = "Details";
5 }
6
7 <h2>Details</h2>
8
9 <div>
10     <h4>Project</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
25         <dd>
26             @Html.DisplayFor(model => model.description)
27         </dd>
28
29         <dt>
30             @Html.DisplayNameFor(model => model.created_at)
31         </dt>
32
33         <dd>
34             @Html.DisplayFor(model => model.created_at)
35         </dd>
36
37         <dt>
38             @Html.DisplayNameFor(model => model.updated_at)
39         </dt>
40
41         <dd>
42             @Html.DisplayFor(model => model.updated_at)
43         </dd>
44
45         <dt>
46             @Html.DisplayNameFor(model => model.User.login)
47         </dt>
48
49         <dd>
50             @Html.DisplayFor(model => model.User.login)
51         </dd>
52
53     </dl>
54 </div>
55 <p>
56     @Html.ActionLink("Edit", "Edit", new { id = Model.id }) |
57     @Html.ActionLink("Back to List", "Index")
58 </p>