%p Blocked users will be removed from all projects & will not be able to login to GitLab.
=link_to'Block User',block_admin_user_path(@user),confirm: 'USER WILL BE BLOCKED! Are you sure?',method: :put,class: "btn btn-small btn-remove"
=link_to'Block User',block_admin_user_path(@user),data: {confirm: 'USER WILL BE BLOCKED! Are you sure?'},method: :put,class: "btn btn-small btn-remove"
=link_to'Block',block_admin_user_path(user),confirm: 'USER WILL BE BLOCKED! Are you sure?',method: :put,class: "btn btn-small btn-remove"
=link_to'Destroy',[:admin,user],confirm: "USER #{user.name} WILL BE REMOVED! All tickets linked to this user will also be removed! Maybe block the user instead? Are you sure?",method: :delete,class: "btn btn-small btn-remove"
=link_to'Block',block_admin_user_path(user),data: {confirm: 'USER WILL BE BLOCKED! Are you sure?'},method: :put,class: "btn btn-small btn-remove"
=link_to'Destroy',[:admin,user],data: {confirm: "USER #{user.name} WILL BE REMOVED! All tickets linked to this user will also be removed! Maybe block the user instead? Are you sure?"},method: :delete,class: "btn btn-small btn-remove"
=link_toleave_profile_group_path(group),confirm: "Are you sure you want to leave #{group.name} group?",method: :delete,class: "btn-small btn grouped",title: 'Remove user from group'do
=link_toleave_profile_group_path(group),data: {confirm: "Are you sure you want to leave #{group.name} group?"},method: :delete,class: "btn-small btn grouped",title: 'Remove user from group'do
=link_to'Remove avatar',profile_avatar_path,confirm: "Avatar will be removed. Are you sure?",method: :delete,class: "btn btn-remove btn-small remove-avatar"
=link_to'Remove avatar',profile_avatar_path,data: {confirm: "Avatar will be removed. Are you sure?"},method: :delete,class: "btn btn-remove btn-small remove-avatar"
=link_to'Remove',project_deploy_key_path(@project,deploy_key),confirm: 'You are going to remove deploy key. Are you sure?',method: :delete,class: "btn btn-remove delete-key btn-small pull-right"
=link_to'Remove',project_deploy_key_path(@project,deploy_key),data: {confirm: 'You are going to remove deploy key. Are you sure?'},method: :delete,class: "btn btn-remove delete-key btn-small pull-right"