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.haml6
1 files changed, 3 insertions, 3 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 8a6ae53a7c4..dc7514badb6 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.namespace.becomes(Namespace), @project, @protected_tag], html: { class: 'new-protected-tag js-new-protected-tag' } do |f|
+= 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' }
.card
.card-header
@@ -24,5 +24,5 @@
.create_access_levels-container
= yield :create_access_levels
- .card-footer
- = f.submit 'Protect', class: 'btn-success btn', disabled: true, data: { qa_selector: 'protect_tag_button' }
+ .card-footer.gl-display-flex.gl-justify-content-end
+ = f.submit _('Protect'), class: 'btn-success btn', disabled: true, data: { qa_selector: 'protect_tag_button' }