summaryrefslogtreecommitdiff
path: root/app/views/admin/labels/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/labels/index.html.haml')
-rw-r--r--app/views/admin/labels/index.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/admin/labels/index.html.haml b/app/views/admin/labels/index.html.haml
index 21b19236683..d6f2898a383 100644
--- a/app/views/admin/labels/index.html.haml
+++ b/app/views/admin/labels/index.html.haml
@@ -27,6 +27,5 @@
%p
= s_('AdminLabels|They can be used to categorize issues and merge requests.')
.gl-display-flex.gl-flex-wrap.gl-justify-content-center
- = link_to new_admin_label_path, class: "btn gl-mb-3 btn-confirm btn-md gl-button gl-mx-2" do
- %span.gl-button-text
- = _('New label')
+ = render Pajamas::ButtonComponent.new(href: new_admin_label_path) do
+ = _('New label')