data: {confirm: "USER #{user.name} WILL BE REMOVED! Are you sure?"},
method: :delete
%li
%li
=link_to'Delete user',[:admin,user],data: {confirm: "USER #{user.name} WILL BE REMOVED! All issues, merge requests and groups linked to this user will also be removed! Consider cancelling this deletion and blocking the user instead. Are you sure?"},
=link_to'Remove user and contributions',admin_user_path(user,hard_delete: true),
class: 'btn btn-remove btn-block',
data: {confirm: "USER #{user.name} WILL BE REMOVED! All issues, merge requests and comments authored by this user, and groups owned solely by them, will also be removed! Are you sure?"},