% content_for :title, current_user == @user ? "Your account" : "#{@user.name.presence || @user.email}’s account" %>
<%= form_for(@user, as: :user, html: { method: :patch }) do |f| %>
<%= @user.name %>
Are you sure you want to reactivate this user?
<%= f.govuk_text_field :active,
value: true,
hidden: true %>
<%= f.govuk_submit "I’m sure - reactivate this user" %>
<%= govuk_link_to("No - I’ve changed my mind", user_path(@user)) %>
<% end %>