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
33b787ee
Commit
33b787ee
authored
May 24, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-add form-check
parent
3d283810
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
app/views/shared/issuable/form/_merge_params.html.haml
app/views/shared/issuable/form/_merge_params.html.haml
+5
-4
No files found.
app/views/shared/issuable/form/_merge_params.html.haml
View file @
33b787ee
...
@@ -10,7 +10,8 @@
...
@@ -10,7 +10,8 @@
.form-group.row
.form-group.row
.col-sm-10.offset-sm-2
.col-sm-10.offset-sm-2
-
if
issuable
.
can_remove_source_branch?
(
current_user
)
-
if
issuable
.
can_remove_source_branch?
(
current_user
)
=
label_tag
'merge_request[force_remove_source_branch]'
do
.form-check
=
hidden_field_tag
'merge_request[force_remove_source_branch]'
,
'0'
,
id:
nil
=
label_tag
'merge_request[force_remove_source_branch]'
do
=
check_box_tag
'merge_request[force_remove_source_branch]'
,
'1'
,
issuable
.
force_remove_source_branch?
=
hidden_field_tag
'merge_request[force_remove_source_branch]'
,
'0'
,
id:
nil
Remove source branch when merge request is accepted.
=
check_box_tag
'merge_request[force_remove_source_branch]'
,
'1'
,
issuable
.
force_remove_source_branch?
Remove source branch when merge request is accepted.
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