summaryrefslogtreecommitdiff
path: root/app/views/shared/issuable
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-10-05 18:20:43 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-10-07 15:23:42 -0400
commitde3ff174e70a9048fc8f23cd5ee0c709471f3651 (patch)
tree78f31aeb8b4956885c0a077e3891895983b8febe /app/views/shared/issuable
parent2ed5a5b70df6e4c9b4b9afd0e1cac12f267676e8 (diff)
downloadgitlab-ce-de3ff174e70a9048fc8f23cd5ee0c709471f3651.tar.gz
Quick Submit all the things!
Adds quick submit behavior to the forms for: - Blobs ("new file") - Commit messages - Issuables - Notes - Labels - Milestones - Wikis
Diffstat (limited to 'app/views/shared/issuable')
-rw-r--r--app/views/shared/issuable/_form.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/issuable/_form.html.haml b/app/views/shared/issuable/_form.html.haml
index 33ec726e93c..594e54f404c 100644
--- a/app/views/shared/issuable/_form.html.haml
+++ b/app/views/shared/issuable/_form.html.haml
@@ -10,7 +10,7 @@
%strong= 'Title *'
.col-sm-10
= f.text_field :title, maxlength: 255, autofocus: true, autocomplete: 'off',
- class: 'form-control pad js-gfm-input', required: true
+ class: 'form-control pad js-gfm-input js-quick-submit', required: true
- if issuable.is_a?(MergeRequest)
%p.help-block
@@ -26,7 +26,7 @@
= render layout: 'projects/md_preview', locals: { preview_class: "md-preview", referenced_users: true } do
= render 'projects/zen', f: f, attr: :description,
- classes: 'description form-control'
+ classes: 'description form-control js-quick-submit'
.col-sm-12.hint
.pull-left
Parsed with