Improve warning message when removing account
This commit is contained in:
parent
618ba8ca47
commit
c2084639df
|
@ -68,6 +68,6 @@
|
|||
%li #{pluralize rp, 'personal project'} will be removed and cannot be restored
|
||||
- if current_user.solo_owned_groups.present?
|
||||
%li
|
||||
Next groups will be abandoned. You should transfer or remove them:
|
||||
The following groups will be abandoned. You should transfer or remove them:
|
||||
%strong #{current_user.solo_owned_groups.map(&:name).join(', ')}
|
||||
= link_to 'Delete account', user_registration_path, confirm: "REMOVE #{current_user.name}? Are you sure?", method: :delete, class: "btn btn-remove"
|
||||
|
|
Loading…
Reference in New Issue