Skip to content

Commit 2ded6b5

Browse files
authored
Merge pull request #495 from TechnologyEnhancedLearning/Develop/Features/TD-4199-Correct-back-button-incosistency
Remove alternative back button for Role search page
2 parents 7e3a4f9 + 257dc65 commit 2ded6b5

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

LearningHub.Nhs.WebUI/Views/Account/CreateAccountSearchRole.cshtml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,8 @@
1515
<div class="nhsuk-width-container app-width-container">
1616
<div class="nhsuk-grid-row">
1717
<div class="nhsuk-grid-column-two-thirds nhsuk-u-padding-bottom-9">
18-
@if (Model.CountryId == "1")
19-
{
20-
<vc:back-link asp-controller="Account" asp-action="CreateAccountRegionSelection" asp-all-route-data="@routeData" link-text="Back to: Select your region" />
21-
22-
}
23-
else
24-
{
25-
<vc:back-link asp-controller="Account" asp-action="CreateAccountCountrySelection" asp-all-route-data="@routeData" link-text="Back to: Select your country" />
26-
27-
}
18+
<vc:back-link asp-controller="Account" asp-action="CreateAccountRegionSelection" asp-all-route-data="@routeData" link-text="Back to: Select your region" />
19+
2820
@if (errorHasOccurred)
2921
{
3022
<vc:error-summary order-of-property-names="@(new[] { nameof(Model) })" />

0 commit comments

Comments
 (0)