gitlab-org--gitlab-foss/app/views/admin/deploy_keys/new.html.haml
Dmitriy Zaporozhets 7f8a520f8a Unite green buttons under one css class
Rename btn-new, btn-create and btn-save to btn-success

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-09-19 13:55:48 +03:00

10 lines
393 B
Text

- page_title 'New Deploy Key'
%h3.page-title New public deploy key
%hr
%div
= form_for [:admin, @deploy_key], html: { class: 'deploy-key-form' } do |f|
= render partial: 'shared/deploy_keys/form', locals: { form: f, deploy_key: @deploy_key }
.form-actions
= f.submit 'Create', class: 'btn-success btn'
= link_to 'Cancel', admin_deploy_keys_path, class: 'btn btn-cancel'