Skip to content

Commit

Permalink
Add section to render report problem partial on content layout
Browse files Browse the repository at this point in the history
  • Loading branch information
nwarms committed Oct 12, 2023
1 parent a0f1f4d commit 66df790
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DfE.FindInformationAcademiesTrusts/Pages/Search.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
ViewData["Title"] = string.IsNullOrWhiteSpace(Model.KeyWords) ? "Search" : $"{Model.KeyWords} - Search";
}

@section reportProblem {
<partial name="_ReportProblemLink"/>
}

<div class="govuk-grid-row govuk-!-margin-bottom-6">
<div class="govuk-grid-column-one-half">
<form class="govuk-form-group app-search" role="search" aria-label="sitewide">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
<main id="main-content" role="main">
@RenderBody()
</main>
@RenderSection("reportProblem", required: false)
</div>
</div>

0 comments on commit 66df790

Please sign in to comment.