Add quick submit for snippet forms

This commit is contained in:
blackst0ne 2017-03-14 09:13:03 +11:00
parent 9ed3db9150
commit 0f9e3e2b58
2 changed files with 5 additions and 1 deletions

View file

@ -3,7 +3,7 @@
= page_specific_javascript_bundle_tag('snippet')
.snippet-form-holder
= form_for @snippet, url: url, html: { class: "form-horizontal snippet-form js-requires-input" } do |f|
= form_for @snippet, url: url, html: { class: "form-horizontal snippet-form js-requires-input js-quick-submit" } do |f|
= form_errors(@snippet)
.form-group

View file

@ -0,0 +1,4 @@
---
title: Add quick submit for snippet forms
merge_request: 9911
author: blackst0ne