Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/groups/_form.html.haml')
-rw-r--r--app/views/admin/groups/_form.html.haml6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/admin/groups/_form.html.haml b/app/views/admin/groups/_form.html.haml
index 7adba0d023b..20ee8c9f310 100644
--- a/app/views/admin/groups/_form.html.haml
+++ b/app/views/admin/groups/_form.html.haml
@@ -36,9 +36,11 @@
= render 'shared/group_tips'
.gl-mt-5
= f.submit _('Create group'), pajamas_button: true
- = link_to _('Cancel'), admin_groups_path, class: "gl-button btn btn-default btn-cancel"
+ = render Pajamas::ButtonComponent.new(href: admin_groups_path) do
+ = _('Cancel')
- else
.gl-mt-5
= f.submit _('Save changes'), data: { qa_selector: 'save_changes_button' }, pajamas_button: true
- = link_to _('Cancel'), admin_group_path(@group), class: "gl-button btn btn-cancel"
+ = render Pajamas::ButtonComponent.new(href: admin_group_path(@group)) do
+ = _('Cancel')