Issue tracker added to edit project form in admin area
This commit is contained in:
parent
e6d2e56961
commit
999fc2391b
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,10 @@
|
||||||
= f.label :issues_enabled, "Issues"
|
= f.label :issues_enabled, "Issues"
|
||||||
.input= f.check_box :issues_enabled
|
.input= f.check_box :issues_enabled
|
||||||
|
|
||||||
|
.clearfix
|
||||||
|
= f.label :issues_tracker, "Issues tracker", class: 'control-label'
|
||||||
|
.input= f.select(:issues_tracker, Project.issues_tracker.values, {}, { disabled: !@project.issues_enabled })
|
||||||
|
|
||||||
.clearfix
|
.clearfix
|
||||||
= f.label :merge_requests_enabled, "Merge Requests"
|
= f.label :merge_requests_enabled, "Merge Requests"
|
||||||
.input= f.check_box :merge_requests_enabled
|
.input= f.check_box :merge_requests_enabled
|
||||||
|
|
Loading…
Reference in a new issue