diff options
Diffstat (limited to 'app/views/groups/milestones/_form.html.haml')
-rw-r--r-- | app/views/groups/milestones/_form.html.haml | 4 |
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 7665da08582..ea36aae1c2f 100644 --- a/app/views/groups/milestones/_form.html.haml +++ b/app/views/groups/milestones/_form.html.haml @@ -6,7 +6,7 @@ .form-group = f.label :title, _("Title") - = f.text_field :title, maxlength: 255, class: "form-control", data: { qa_selector: "milestone_title_field" }, required: true, autofocus: true + = f.text_field :title, maxlength: 255, class: "form-control", data: { testid: "milestone-title-field" }, required: true, autofocus: true = render "shared/milestones/form_dates", f: f .form-group = f.label :description, _("Description") @@ -26,7 +26,7 @@ = f.hidden_field :lock_version - if @milestone.new_record? - = f.submit _('Create milestone'), data: { qa_selector: "create_milestone_button" }, class: 'gl-mr-2', pajamas_button: true + = f.submit _('Create milestone'), data: { testid: "create-milestone-button" }, class: 'gl-mr-2', pajamas_button: true = render Pajamas::ButtonComponent.new(href: group_milestones_path(@group)) do = _("Cancel") - else |