Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-07 15:48:18 +0300
committerDouwe Maan <douwe@gitlab.com>2015-12-07 15:48:18 +0300
commitdddfbb653eee2037ede922ca4eafc0ca9d7b0af0 (patch)
treebbdba7e460b30f425b22987f35a6b385c4953174 /app/views/shared/_new_commit_form.html.haml
parent7d3edf2520c4884b896c962989eaea2d19340e1d (diff)
parenta468bf346af9f86b4a9e5d3ba027e0debad948cc (diff)
Merge branch 'master' into ui/misc
Diffstat (limited to 'app/views/shared/_new_commit_form.html.haml')
-rw-r--r--app/views/shared/_new_commit_form.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/shared/_new_commit_form.html.haml b/app/views/shared/_new_commit_form.html.haml
index 2931fb0c2ce..55aa045fd59 100644
--- a/app/views/shared/_new_commit_form.html.haml
+++ b/app/views/shared/_new_commit_form.html.haml
@@ -2,10 +2,9 @@
- unless @project.empty_repo?
.form-group.branch
- = label_tag 'branch', class: 'control-label' do
- Branch
+ = label_tag 'new_branch', 'Target branch', class: 'control-label'
.col-sm-10
- = text_field_tag 'new_branch', @new_branch || @ref, class: "form-control js-new-branch"
+ = text_field_tag 'new_branch', @new_branch || @ref, required: true, class: "form-control js-new-branch"
.js-create-merge-request-container
.checkbox