Skip to content

Commit b175fc0

Browse files
TD-4383 Warn centre admins that active admin account exists when inactivating delegate account
1 parent 1d75f46 commit b175fc0

File tree

1 file changed

+1
-1
lines changed
  • DigitalLearningSolutions.Web/Views/TrackingSystem/Delegates/ViewDelegate

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web/Views/TrackingSystem/Delegates/ViewDelegate/Index.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
}
131131
if (Model.DelegateInfo.RegistrationConfirmationHash != null)
132132
{
133-
<form asp-action="DeleteAccount" asp-route-delegateuserId="@Model.DelegateInfo.Id">
133+
<form asp-action="DeleteAccount" asp-route-delegateId="@Model.DelegateInfo.Id">
134134
<button class="nhsuk-button delete-button view-delegate-button"
135135
type="submit">
136136
Delete account

0 commit comments

Comments
 (0)