=link_to'Remove',disable_namespace_project_deploy_key_path(@project.namespace,@project,deploy_key),data: {confirm: 'You are going to remove deploy key. Are you sure?'},method: :put,class: "btn btn-remove delete-key btn-sm pull-right"
=link_todisable_namespace_project_deploy_key_path(@project.namespace,@project,deploy_key),data: {confirm: "You are going to remove deploy key. Are you sure?"},method: :put,class: "btn btn-warning btn-sm prepend-left-10"do
Deploy keys allow read-only access to your repository. Deploy keys can be used for CI, staging or production servers. You can create a deploy key or add an existing one.