Issue tracker added to edit project form in admin area

This commit is contained in:
Andrew8xx8 2013-02-08 17:55:02 +04:00
parent e6d2e56961
commit 999fc2391b

View file

@ -31,6 +31,10 @@
= f.label :issues_enabled, "Issues"
.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
= f.label :merge_requests_enabled, "Merge Requests"
.input= f.check_box :merge_requests_enabled