=s_('Profiles|You must transfer ownership or delete these groups before you can delete your account.')
=s_('Profiles|You must transfer ownership or delete these groups before you can delete your account.')
-elsif!current_user.can_remove_self?
-elsif!current_user.can_remove_self?
%p
%p
-reset_link=reset_profile_password_path
=s_('Profiles|GitLab is unable to verify your identity automatically. For security purposes, you must set a password by %{openingTag}resetting your password%{closingTag} to delete your account.').html_safe%{openingTag: "<a href='#{reset_profile_password_path}' rel=\"nofollow\" data-method=\"put\">".html_safe,closingTag: '</a>'.html_safe}
=s_('Profiles|GitLab is unable to verify your identity automatically. For security purposes, you must set a password by %{openingTag}resetting your password%{closingTag} to delete your account.').html_safe%{openingTag: "<a href='#{reset_link}'>".html_safe,closingTag: '</a>'.html_safe}
%p
%p
=s_('Profiles|If after setting a password, the option to delete your account is still not available, please email %{data_request} to begin the account deletion process.').html_safe%{data_request: mail_to('personal-data-request@gitlab.com')}
=s_('Profiles|If after setting a password, the option to delete your account is still not available, please email %{data_request} to begin the account deletion process.').html_safe%{data_request: mail_to('personal-data-request@gitlab.com')}