summaryrefslogtreecommitdiff
path: root/app/views/projects/pipelines/new.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/pipelines/new.html.haml')
-rw-r--r--app/views/projects/pipelines/new.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/pipelines/new.html.haml b/app/views/projects/pipelines/new.html.haml
index 39b1571b9cf..534a495dd85 100644
--- a/app/views/projects/pipelines/new.html.haml
+++ b/app/views/projects/pipelines/new.html.haml
@@ -9,7 +9,7 @@
New Pipeline
%hr
-= form_tag namespace_project_pipelines_path, method: :post, id: "new-pipeline-form", class: "form-horizontal js-create-branch-form js-requires-input" do
+= form_tag namespace_project_pipelines_path, method: :post, id: "new-pipeline-form", class: "form-horizontal js-new-pipeline-form js-requires-input" do
.form-group
= label_tag :ref, 'Create for', class: 'control-label'
.col-sm-10
@@ -22,4 +22,4 @@
:javascript
var availableRefs = #{@project.repository.ref_names.to_json};
- new NewBranchForm($('.js-create-branch-form'), availableRefs)
+ new NewBranchForm($('.js-new-pipeline-form'), availableRefs)