source: PostgreSqlDotnetCore/Views/BlogPostAnswers/Details.cshtml@ 118e414

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

fix access

implement multiple access pages with different roles
optimize present three structure of BlogPost and Answer

  • Property mode set to 100644
File size: 738 bytes
Line 
1@model PostgreSqlDotnetCore.Models.BlogPostAnswers
2
3@{
4 ViewBag.Title = "Details";
5}
6
7<h2>Details</h2>
8
9<div>
10 <h4>Blog_Post_Answers</h4>
11 <hr />
12 <dl class="dl-horizontal">
13 <dt>
14 @Html.DisplayNameFor(model => model.parent_id)
15 </dt>
16
17 <dd>
18 @Html.DisplayFor(model => model.parent_id)
19 </dd>
20
21 <dt>
22 @Html.DisplayNameFor(model => model.reply)
23 </dt>
24 <dd>
25 @Html.DisplayFor(model => model.reply)
26 </dd>
27
28
29 </dl>
30</div>
31<p>
32 @Html.ActionLink("Edit", "Edit", new { id = Model.id }) |
33 @* @Html.ActionLink("Back to List", "Index") *@
34 <a href="javascript:void(0);" onclick="history.go(-1);">Back to List</a>
35</p>
Note: See TracBrowser for help on using the repository browser.