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/groups/milestones/_form.html.haml')
-rw-r--r--app/views/groups/milestones/_form.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/groups/milestones/_form.html.haml b/app/views/groups/milestones/_form.html.haml
index 3864b30eb1e..d4b1c3c27f1 100644
--- a/app/views/groups/milestones/_form.html.haml
+++ b/app/views/groups/milestones/_form.html.haml
@@ -21,8 +21,8 @@
.form-actions
- if @milestone.new_record?
- = f.submit _('Create milestone'), class: "btn-confirm gl-button btn", data: { qa_selector: "create_milestone_button" }
+ = f.submit _('Create milestone'), data: { qa_selector: "create_milestone_button" }, pajamas_button: true
= link_to _("Cancel"), group_milestones_path(@group), class: "btn gl-button btn-cancel"
- else
- = f.submit _('Update milestone'), class: "btn-confirm gl-button btn"
+ = f.submit _('Update milestone'), pajamas_button: true
= link_to _("Cancel"), group_milestone_path(@group, @milestone), class: "btn gl-button btn-cancel"