gitlab-org--gitlab-foss/app/views/projects/_merge_request_merge_settings.html.haml
Rémy Coutable 9cc19d9b2c
Remove wrong '.builds-feature' class from the MR settings fieldset
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-12-07 12:42:09 +01:00

15 lines
782 B
Text

- form = local_assigns.fetch(:form)
.form-group
.checkbox.builds-feature
= form.label :only_allow_merge_if_build_succeeds do
= form.check_box :only_allow_merge_if_build_succeeds
%strong Only allow merge requests to be merged if the build succeeds
%br
%span.descr
Builds need to be configured to enable this feature.
= link_to icon('question-circle'), help_page_path('user/project/merge_requests/merge_when_build_succeeds', anchor: 'only-allow-merge-requests-to-be-merged-if-the-build-succeeds')
.checkbox
= form.label :only_allow_merge_if_all_discussions_are_resolved do
= form.check_box :only_allow_merge_if_all_discussions_are_resolved
%strong Only allow merge requests to be merged if all discussions are resolved