Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
0f9e3e2b
Commit
0f9e3e2b
authored
Mar 14, 2017
by
blackst0ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add quick submit for snippet forms
parent
9ed3db91
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
app/views/shared/snippets/_form.html.haml
app/views/shared/snippets/_form.html.haml
+1
-1
changelogs/unreleased/add_quick_submit_for_snippets_form.yml
changelogs/unreleased/add_quick_submit_for_snippets_form.yml
+4
-0
No files found.
app/views/shared/snippets/_form.html.haml
View file @
0f9e3e2b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
=
page_specific_javascript_bundle_tag
(
'snippet'
)
=
page_specific_javascript_bundle_tag
(
'snippet'
)
.snippet-form-holder
.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_errors
(
@snippet
)
.form-group
.form-group
...
...
changelogs/unreleased/add_quick_submit_for_snippets_form.yml
0 → 100644
View file @
0f9e3e2b
---
title
:
Add quick submit for snippet forms
merge_request
:
9911
author
:
blackst0ne
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment