diff options
Diffstat (limited to 'app/views/admin/deploy_keys/edit.html.haml')
-rw-r--r-- | app/views/admin/deploy_keys/edit.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/admin/deploy_keys/edit.html.haml b/app/views/admin/deploy_keys/edit.html.haml index acdf503727d..b51ab3457d6 100644 --- a/app/views/admin/deploy_keys/edit.html.haml +++ b/app/views/admin/deploy_keys/edit.html.haml @@ -7,4 +7,5 @@ = render partial: 'shared/deploy_keys/form', locals: { form: f, deploy_key: @deploy_key } .form-actions = f.submit _('Save changes'), pajamas_button: true - = link_to _('Cancel'), admin_deploy_keys_path, class: 'btn gl-button btn-default btn-cancel' + = render Pajamas::ButtonComponent.new(href: admin_deploy_keys_path) do + = _('Cancel') |