summaryrefslogtreecommitdiff
path: root/app/views/projects/protected_tags/shared/_create_protected_tag.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/protected_tags/shared/_create_protected_tag.html.haml')
-rw-r--r--app/views/projects/protected_tags/shared/_create_protected_tag.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/protected_tags/shared/_create_protected_tag.html.haml b/app/views/projects/protected_tags/shared/_create_protected_tag.html.haml
index 9ea7f397c0a..1db1da5e428 100644
--- a/app/views/projects/protected_tags/shared/_create_protected_tag.html.haml
+++ b/app/views/projects/protected_tags/shared/_create_protected_tag.html.haml
@@ -1,4 +1,4 @@
-= form_for [@project, @protected_tag], html: { class: 'new-protected-tag js-new-protected-tag' } do |f|
+= gitlab_ui_form_for [@project, @protected_tag], html: { class: 'new-protected-tag js-new-protected-tag' } do |f|
%input{ type: 'hidden', name: 'update_section', value: 'js-protected-tags-settings' }
= render Pajamas::CardComponent.new(card_options: { class: 'gl-mb-5' }) do |c|
- c.header do
@@ -20,4 +20,4 @@
= yield :create_access_levels
- c.footer do
- = f.submit _('Protect'), class: 'gl-button btn btn-confirm', disabled: true, data: { qa_selector: 'protect_tag_button' }
+ = f.submit _('Protect'), pajamas_button: true, disabled: true, data: { qa_selector: 'protect_tag_button' }