debian-mirror-gitlab/app/views/projects/deploy_keys/edit.html.haml

11 lines
482 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- page_title 'Edit Deploy Key'
2020-05-30 21:06:31 +05:30
%h3.page-title= _('Edit Deploy Key')
2017-09-10 17:25:29 +05:30
%hr
%div
2020-05-30 21:06:31 +05:30
= form_for [@project.namespace.becomes(Namespace), @project, @deploy_key], include_id: false, html: { class: 'js-requires-input' } do |f|
2017-09-10 17:25:29 +05:30
= render partial: 'shared/deploy_keys/form', locals: { form: f, deploy_key: @deploy_key }
.form-actions
2018-12-05 23:21:45 +05:30
= f.submit 'Save changes', class: 'btn-success btn'
2017-09-10 17:25:29 +05:30
= link_to 'Cancel', project_settings_repository_path(@project), class: 'btn btn-cancel'