Ignore:
Timestamp:
08/23/24 15:40:14 (5 weeks ago)
Author:
ElenaMoskova <elena.moskova99@…>
Branches:
main
Children:
e9bb9d1
Parents:
72b1da2
Message:

fix access

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

Location:
PostgreSqlDotnetCore/Views/BlogPostAnswers
Files:
2 edited

Legend:

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

    r72b1da2 r118e414  
    1717    @Html.ValidationSummary(true, "", new { @class = "text-danger" })
    1818
    19     <div class="form-group">
     19   @* <div class="form-group">
    2020        @Html.LabelFor(model => model.parent_id, htmlAttributes: new { @class = "control-label col-md-2" })
    2121        <div class="col-md-10">
     
    2424        </div>
    2525    </div>
    26 
     26 *@
    2727    <div class="form-group">
    2828        @Html.LabelFor(model => model.reply, htmlAttributes: new { @class = "control-label col-md-2" })
  • PostgreSqlDotnetCore/Views/BlogPostAnswers/Details.cshtml

    r72b1da2 r118e414  
    3131<p>
    3232    @Html.ActionLink("Edit", "Edit", new { id = Model.id }) |
    33     @Html.ActionLink("Back to List", "Index")
     33    @* @Html.ActionLink("Back to List", "Index") *@
     34    <a href="javascript:void(0);" onclick="history.go(-1);">Back to List</a>
    3435</p>
Note: See TracChangeset for help on using the changeset viewer.