Skip to content

Commit

Permalink
fix: restored page name variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mattb-hippo committed Jul 30, 2024
1 parent 95fc439 commit a361d7f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Childrens-Social-Care-CPD/Views/Shared/_Feedback.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

@if (!featureConfig.IsEnabled(Features.FeedbackControl)) return;

@{
var contextModel = (ContextModel)ViewBag.ContextModel;
}
<div id="page-feedback" class="govuk-grid-row" data-module="feedback-module">
<div class="govuk-grid-column-three-quarters">

Expand All @@ -15,6 +18,7 @@
</summary>

<form action="feedback" method="post" data-module-id="feedbackForm" asp-antiforgery="true">
<input data-module-id="page" type="hidden" name="page" value="@contextModel.Id" />
<div data-module-id="controlsContainer">
<div class="govuk-details__text">
Use this form to provide feedback about this page.
Expand Down

0 comments on commit a361d7f

Please sign in to comment.