% content_for :title, current_user == @user ? "Your account" : "#{@user.name.presence || @user.email}’s account" %>
Deactivating this user will mean they can no longer access this service to submit CORE data.
Any logs this user has already submitted will not be affected.
<%= f.govuk_text_field :active, value: false, hidden: true %> <%= f.govuk_submit "I’m sure - deactivate this user" %><%= govuk_link_to("No - I’ve changed my mind", user_path(@user)) %>