diff --git a/app/views/users/toggle_active.html.erb b/app/views/users/toggle_active.html.erb index 2f929b2fb..40eaca551 100644 --- a/app/views/users/toggle_active.html.erb +++ b/app/views/users/toggle_active.html.erb @@ -12,11 +12,11 @@

Any logs this user has already submitted will not be affected.

<% end %> <% active_value = action != "deactivate" %> - + + <%= f.hidden_field :active, value: active_value %> + <%= f.govuk_submit "I’m sure – #{action} this user", warning: action == "deactivate" %> +

<%= govuk_link_to("No – I’ve changed my mind", user_path(@user)) %>