summaryrefslogtreecommitdiff
path: root/app/views/projects/imports/new.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/imports/new.html.haml')
-rw-r--r--app/views/projects/imports/new.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/imports/new.html.haml b/app/views/projects/imports/new.html.haml
index 77c715aa376..b021087c394 100644
--- a/app/views/projects/imports/new.html.haml
+++ b/app/views/projects/imports/new.html.haml
@@ -12,8 +12,8 @@
:preserve
#{h(@project.import_state.last_error)}
-= form_for @project, url: project_import_path(@project), method: :post do |f|
+= form_for @project, url: project_import_path(@project), method: :post, html: { class: 'js-project-import' } do |f|
= render "shared/import_form", f: f
.form-actions
- = f.submit 'Start import', class: "gl-button btn btn-confirm"
+ = f.submit 'Start import', class: "gl-button btn btn-confirm", data: { disable_with: false }