Commit c2084639df00a93d3568c89244e48cb79075471f

Authored by David Pursehouse
1 parent 618ba8ca

Improve warning message when removing account

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/profiles/accounts/show.html.haml
@@ -68,6 +68,6 @@ @@ -68,6 +68,6 @@
68 %li #{pluralize rp, 'personal project'} will be removed and cannot be restored 68 %li #{pluralize rp, 'personal project'} will be removed and cannot be restored
69 - if current_user.solo_owned_groups.present? 69 - if current_user.solo_owned_groups.present?
70 %li 70 %li
71 - Next groups will be abandoned. You should transfer or remove them: 71 + The following groups will be abandoned. You should transfer or remove them:
72 %strong #{current_user.solo_owned_groups.map(&:name).join(', ')} 72 %strong #{current_user.solo_owned_groups.map(&:name).join(', ')}
73 = link_to 'Delete account', user_registration_path, confirm: "REMOVE #{current_user.name}? Are you sure?", method: :delete, class: "btn btn-remove" 73 = link_to 'Delete account', user_registration_path, confirm: "REMOVE #{current_user.name}? Are you sure?", method: :delete, class: "btn btn-remove"