Remove ununsed CONTRIBUTING link on edit MR form.

The code is never reached because the new and edit MR forms have diverged,
and the CONTRIBUTING link is not shown when editing MRs.
This commit is contained in:
Ciro Santilli 2014-09-20 17:17:50 +02:00
parent 248990b5e8
commit 83e8f923a3
1 changed files with 0 additions and 10 deletions

View File

@ -1,14 +1,4 @@
= form_for [@project, @merge_request], html: { class: "merge-request-form form-horizontal" } do |f|
.row
.col-sm-2
.col-sm-10
- if @repository.contribution_guide && !@merge_request.persisted?
- contribution_guide_url = project_blob_path(@project, tree_join(@repository.root_ref, @repository.contribution_guide.name))
.alert.alert-info
Please review the
%strong #{link_to "guidelines for contribution", contribution_guide_url}
to this repository.
.merge-request-form-info
= render 'projects/issuable_form', f: f, issuable: @merge_request
.form-group