<%= link_to user.name, user.current? ? edit_user_profile_path(user) : user_profile_path(user) %>
<%= form_with model: user, url: user_path(user), data: { controller: "form" }, method: :patch do | form | %>
<% end %>
<%= button_to user_path(user), method: :delete, class: "btn btn--small btn--negative flex-item-no-shrink", disabled: ("disabled" if user.current? || !Current.user.can_administer?), data: {
turbo_confirm: "Are you sure you want to permanently remove this person from the account? This can’t be undone."} do %>
<%= image_tag "minus.svg", aria: { hidden: true }, size: 24 %>
Remove <%= user.name %> from the account
<% end %>