diff options
Diffstat (limited to 'app/views/shared/access_tokens/_form.html.haml')
-rw-r--r-- | app/views/shared/access_tokens/_form.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/shared/access_tokens/_form.html.haml b/app/views/shared/access_tokens/_form.html.haml index a8f781d2272..d397fdf8fc3 100644 --- a/app/views/shared/access_tokens/_form.html.haml +++ b/app/views/shared/access_tokens/_form.html.haml @@ -7,7 +7,7 @@ - access_levels = local_assigns.fetch(:access_levels, false) - default_access_level = local_assigns.fetch(:default_access_level, false) -%h5.gl-font-lg.gl-mt-0 +%h4.gl-mt-0 = title = gitlab_ui_form_for token, as: prefix, url: path, method: :post, html: { id: 'js-new-access-token-form', class: 'js-requires-input' }, remote: ajax do |f| @@ -43,3 +43,5 @@ .gl-mt-3 = f.submit s_('AccessTokens|Create %{type}') % { type: type }, data: { qa_selector: 'create_token_button' }, pajamas_button: true + = render Pajamas::ButtonComponent.new(button_options: { type: 'reset', class: 'gl-ml-2 js-toggle-button' }) do + = _('Cancel') |