summaryrefslogtreecommitdiff
path: root/spec/javascripts/fixtures
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-10-05 18:19:11 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-10-07 15:23:41 -0400
commit01d0926bc16bb82ef676c35a5a61b8e90a82654c (patch)
treef30316edb40bb2afedf433e7a53e41e2ad556d5c /spec/javascripts/fixtures
parent38fbfb9fe6d52e1a36b16ccc2a9da9ae01561cca (diff)
downloadgitlab-ce-01d0926bc16bb82ef676c35a5a61b8e90a82654c.tar.gz
Add "Quick Submit" JS behavior
Diffstat (limited to 'spec/javascripts/fixtures')
-rw-r--r--spec/javascripts/fixtures/behaviors/quick_submit.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/javascripts/fixtures/behaviors/quick_submit.html.haml b/spec/javascripts/fixtures/behaviors/quick_submit.html.haml
new file mode 100644
index 00000000000..b80a28a33ea
--- /dev/null
+++ b/spec/javascripts/fixtures/behaviors/quick_submit.html.haml
@@ -0,0 +1,6 @@
+%form{ action: '/foo' }
+ %input.js-quick-submit{ type: 'text' }
+ %textarea.js-quick-submit
+
+ %input{ type: 'submit'} Submit
+ %button.btn{ type: 'submit' } Submit