diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-20 17:17:50 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-22 21:34:16 +0200 |
commit | 83e8f923a3b9949e2f7c79717bf45c737c566e68 (patch) | |
tree | dccd12c331f639bff7603faa33ff0fa307a5ae98 /app/views | |
parent | 248990b5e8e169d7c48adb539980a9db6cea4eca (diff) | |
download | gitlab-ce-83e8f923a3b9949e2f7c79717bf45c737c566e68.tar.gz |
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.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/merge_requests/_form.html.haml | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/views/projects/merge_requests/_form.html.haml b/app/views/projects/merge_requests/_form.html.haml index 8ad47724fe7..154a01f59ad 100644 --- a/app/views/projects/merge_requests/_form.html.haml +++ b/app/views/projects/merge_requests/_form.html.haml @@ -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 |