diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-08 18:42:10 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-08 18:42:10 +0300 |
commit | df6750d3d6b562c8a6a0a57c12dfd694da38a0e8 (patch) | |
tree | 54f15d83ddef9b524144cf6c49385b5e98c96509 /app/views/shared/_new_commit_form.html.haml | |
parent | 792f2bbe0b306bda266dfc817edf33b4c9e36a0f (diff) |
Default target branch to patch-n when editing file in protected branch
Diffstat (limited to 'app/views/shared/_new_commit_form.html.haml')
-rw-r--r-- | app/views/shared/_new_commit_form.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_new_commit_form.html.haml b/app/views/shared/_new_commit_form.html.haml index 31b02ed93d0..074080e44c9 100644 --- a/app/views/shared/_new_commit_form.html.haml +++ b/app/views/shared/_new_commit_form.html.haml @@ -4,7 +4,7 @@ .form-group.branch = label_tag 'new_branch', 'Target branch', class: 'control-label' .col-sm-10 - = text_field_tag 'new_branch', @new_branch || @ref, required: true, class: "form-control js-new-branch" + = text_field_tag 'new_branch', @new_branch || tree_edit_branch, required: true, class: "form-control js-new-branch" .form-group.js-create-merge-request-form-group .col-sm-offset-2.col-sm-10 |