debian-mirror-gitlab/app/views/admin/deploy_keys/new.html.haml

11 lines
408 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- page_title 'New Deploy Key'
2015-04-26 12:48:37 +05:30
%h3.page-title New public deploy key
%hr
%div
= form_for [:admin, @deploy_key], html: { class: 'deploy-key-form form-horizontal' } do |f|
2017-09-10 17:25:29 +05:30
= render partial: 'shared/deploy_keys/form', locals: { form: f, deploy_key: @deploy_key }
2015-04-26 12:48:37 +05:30
.form-actions
2017-09-10 17:25:29 +05:30
= f.submit 'Create', class: 'btn-create btn'
= link_to 'Cancel', admin_deploy_keys_path, class: 'btn btn-cancel'