diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-07 15:48:18 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-07 15:48:18 +0300 |
commit | dddfbb653eee2037ede922ca4eafc0ca9d7b0af0 (patch) | |
tree | bbdba7e460b30f425b22987f35a6b385c4953174 /app/views/shared/_new_commit_form.html.haml | |
parent | 7d3edf2520c4884b896c962989eaea2d19340e1d (diff) | |
parent | a468bf346af9f86b4a9e5d3ba027e0debad948cc (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.haml | 5 |
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 |