summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-16 10:22:00 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-16 10:22:00 +0000
commit5437c3ea1eca7f04c3f7b989cf2b2336a92c75c4 (patch)
treece2f4bcd15cc10ba4563dd547eeb0fcb960eef52
parente3f436dc4378940337d8a2146e599fee2125eec4 (diff)
parentd015bb322f82462b80d2fcec8884bc97574e18b5 (diff)
downloadgitlab-ce-5437c3ea1eca7f04c3f7b989cf2b2336a92c75c4.tar.gz
Merge branch 'new-branch-usability' into 'master'
Improve usability of new branch form
-rw-r--r--app/views/projects/branches/new.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/branches/new.html.haml b/app/views/projects/branches/new.html.haml
index d173065afd2..5da2ede2937 100644
--- a/app/views/projects/branches/new.html.haml
+++ b/app/views/projects/branches/new.html.haml
@@ -5,12 +5,11 @@
.form-group
= label_tag :branch_name, 'Name for new branch', class: 'control-label'
.col-sm-10
- = text_field_tag :branch_name, nil, placeholder: 'feature/dashboard', required: true, tabindex: 1, class: 'form-control'
+ = text_field_tag :branch_name, nil, placeholder: 'enter new branch name', required: true, tabindex: 1, class: 'form-control'
.form-group
= label_tag :ref, 'Create from', class: 'control-label'
.col-sm-10
- = text_field_tag :ref, nil, placeholder: 'master', required: true, tabindex: 2, class: 'form-control'
- .light branch name or commit SHA
+ = text_field_tag :ref, nil, placeholder: 'existing branch name, tag or commit SHA', required: true, tabindex: 2, class: 'form-control'
.form-actions
= submit_tag 'Create branch', class: 'btn btn-create', tabindex: 3
= link_to 'Cancel', project_branches_path(@project), class: 'btn btn-cancel'