[2aea0fd] | 1 | @model PostgreSqlDotnetCore.Models.BlogPostConsultation
|
---|
| 2 |
|
---|
| 3 | @{
|
---|
| 4 | ViewBag.Title = "Details";
|
---|
| 5 | }
|
---|
| 6 |
|
---|
[d6040ef] | 7 | @*<h2>Одговори</h2>*@
|
---|
| 8 | @*
|
---|
[2aea0fd] | 9 | <div>
|
---|
[d6040ef] | 10 | <h4>Blog post for consultations</h4>
|
---|
[2aea0fd] | 11 | <hr />
|
---|
| 12 | <dl class="dl-horizontal">
|
---|
| 13 | <dt>
|
---|
| 14 | @Html.DisplayNameFor(model => model.date_askes)
|
---|
| 15 | </dt>
|
---|
| 16 |
|
---|
| 17 | <dd>
|
---|
| 18 | @Html.DisplayFor(model => model.date_askes)
|
---|
| 19 | </dd>
|
---|
| 20 |
|
---|
| 21 | <dt>
|
---|
| 22 | @Html.DisplayNameFor(model => model.title)
|
---|
| 23 | </dt>
|
---|
| 24 | <dd>
|
---|
| 25 | @Html.DisplayFor(model => model.title)
|
---|
| 26 | </dd>
|
---|
| 27 |
|
---|
| 28 | <dt>
|
---|
| 29 | @Html.DisplayNameFor(model => model.description)
|
---|
| 30 | </dt>
|
---|
| 31 |
|
---|
| 32 | <dd>
|
---|
| 33 | @Html.DisplayFor(model => model.description)
|
---|
| 34 | </dd>
|
---|
[d6040ef] | 35 |
|
---|
[2aea0fd] | 36 | <dt>
|
---|
| 37 | @Html.DisplayNameFor(model => model.users_id)
|
---|
| 38 | </dt>
|
---|
| 39 |
|
---|
| 40 | <dd>
|
---|
| 41 | @Html.DisplayFor(model => model.users_id)
|
---|
| 42 | </dd>
|
---|
| 43 |
|
---|
[d6040ef] | 44 |
|
---|
[2aea0fd] | 45 | </dl>
|
---|
| 46 | </div>
|
---|
[d6040ef] | 47 | *@
|
---|
| 48 |
|
---|
[2aea0fd] | 49 | <hr/>
|
---|
| 50 | <div>
|
---|
[d6040ef] | 51 | <h2>Answers</h2>
|
---|
[2aea0fd] | 52 | <hr />
|
---|
| 53 |
|
---|
| 54 | <table class="table">
|
---|
| 55 | <tr>
|
---|
| 56 |
|
---|
| 57 | <th>
|
---|
| 58 | Reply
|
---|
| 59 | </th>
|
---|
| 60 | <th>
|
---|
| 61 | UsersId
|
---|
| 62 | </th>
|
---|
| 63 | <th></th>
|
---|
| 64 |
|
---|
| 65 | </tr>
|
---|
| 66 |
|
---|
| 67 | @foreach (var item in Model.BlogPostAnswers)
|
---|
| 68 | {
|
---|
| 69 | <tr>
|
---|
| 70 | <td>
|
---|
| 71 | @Html.DisplayFor(modelItem => item.reply)
|
---|
| 72 | </td>
|
---|
| 73 |
|
---|
| 74 | <th>
|
---|
| 75 | @Html.DisplayFor(model => item.usersid)
|
---|
| 76 | </th>
|
---|
| 77 |
|
---|
| 78 | <td>
|
---|
| 79 | @Html.ActionLink("Edit", "Edit", "BlogPostAnswers", new { id = item.id }) |
|
---|
| 80 | @Html.ActionLink("Details", "Details", "BlogPostAnswers", new { id = item.id }) |
|
---|
| 81 | @Html.ActionLink("Delete", "Delete", "BlogPostAnswers", new { id = item.id })
|
---|
| 82 | </td>
|
---|
| 83 | </tr>
|
---|
| 84 | }
|
---|
| 85 |
|
---|
| 86 | </table>
|
---|
| 87 | </div>
|
---|
| 88 | <p>
|
---|
| 89 | @Html.ActionLink("Edit", "Edit", new { id = Model.id }) |
|
---|
| 90 | @Html.ActionLink("Back to List", "Index")
|
---|
| 91 | </p>
|
---|