=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 the repository
.col-lg-3.profile-settings-sidebar
%h4.prepend-top-0
=link_tonew_namespace_project_deploy_key_path(@project.namespace,@project),class: "btn btn-new pull-right",title: "New Deploy Key"do
=page_title
%i.fa.fa-plus
%p
New Deploy Key
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.
.col-lg-9
%p.light
%h5.prepend-top-0
Deploy keys can be used for CI, staging or production servers.
Create a new deploy key for this project
You can create a deploy key or add an existing one