2017-06-07 04:11:44 -04:00
- expanded = Rails.env.test?
%section.settings
.settings-header
%h4
2017-01-23 19:28:40 -05:00
Deploy Keys
2017-06-07 04:11:44 -04:00
%button.btn.js-settings-toggle
2017-06-22 10:32:04 -04:00
= expanded ? 'Collapse' : 'Expand'
2016-04-25 11:26:41 -04:00
%p
2017-03-08 13:14:02 -05:00
Deploy keys allow read-only or read-write (if enabled) 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.
2017-06-07 04:11:44 -04:00
.settings-content.no-animate{ class: ('expanded' if expanded) }
2016-04-25 11:26:41 -04:00
%h5.prepend-top-0
Create a new deploy key for this project
2017-01-31 09:12:02 -05:00
= render @deploy_keys.form_partial_path
2016-04-25 11:26:41 -04:00
%hr
2017-06-07 04:11:44 -04:00
#js-deploy-keys{ data: { endpoint: namespace_project_deploy_keys_path } }