Ignore:
Timestamp:
08/28/24 21:41:13 (3 months ago)
Author:
ElenaMoskova <elena.moskova99@…>
Branches:
main
Children:
a850333
Parents:
118e414
Message:

Use of views

  1. Use of views in VetCenters.
  2. Ability to provide a response to a given response.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • PostgreSqlDotnetCore/Views/BlogPostAnswers/Details.cshtml

    r118e414 re9bb9d1  
    2929    </dl>
    3030</div>
     31<br/>
     32@{
     33    if(Model.blogPostAnswers.Count > 0)
     34    {
     35
     36        <h4>Replay under Answers</h4>
     37        <hr />
     38        foreach (BlogPostAnswers item in Model.blogPostAnswers)
     39        {
     40
     41            <dl class="dl-horizontal">
     42                <dt>
     43                    @Html.DisplayNameFor(model => item.parent_id)
     44                </dt>
     45
     46                <dd>
     47                    @Html.DisplayFor(model => item.parent_id)
     48                </dd>
     49
     50                <dt>
     51                    @Html.DisplayNameFor(model => item.reply)
     52                </dt>
     53                <dd>
     54                    @Html.DisplayFor(model => item.reply)
     55                </dd>
     56
     57
     58            </dl>
     59        }
     60        <hr />
     61    }
     62}
    3163<p>
    3264    @Html.ActionLink("Edit", "Edit", new { id = Model.id }) |
Note: See TracChangeset for help on using the changeset viewer.