diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-10-06 01:20:43 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-10-07 22:23:42 +0300 |
commit | de3ff174e70a9048fc8f23cd5ee0c709471f3651 (patch) | |
tree | 78f31aeb8b4956885c0a077e3891895983b8febe /app/views/shared/_commit_message_container.html.haml | |
parent | 2ed5a5b70df6e4c9b4b9afd0e1cac12f267676e8 (diff) |
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/_commit_message_container.html.haml')
-rw-r--r-- | app/views/shared/_commit_message_container.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_commit_message_container.html.haml b/app/views/shared/_commit_message_container.html.haml index 5071ff640f1..cc3f1268f8b 100644 --- a/app/views/shared/_commit_message_container.html.haml +++ b/app/views/shared/_commit_message_container.html.haml @@ -6,7 +6,7 @@ .max-width-marker = text_area_tag 'commit_message', (params[:commit_message] || local_assigns[:text]), - class: 'form-control', placeholder: local_assigns[:placeholder], + class: 'form-control js-quick-submit', placeholder: local_assigns[:placeholder], required: true, rows: (local_assigns[:rows] || 3) - if local_assigns[:hint] %p.hint |