Commit 5437c3ea1eca7f04c3f7b989cf2b2336a92c75c4

Authored by Dmitriy Zaporozhets
2 parents e3f436dc d015bb32

Merge branch 'new-branch-usability' into 'master'

Improve usability of new branch form
Showing 1 changed file with 2 additions and 3 deletions   Show diff stats
app/views/projects/branches/new.html.haml
... ... @@ -5,12 +5,11 @@
5 5 .form-group
6 6 = label_tag :branch_name, 'Name for new branch', class: 'control-label'
7 7 .col-sm-10
8   - = text_field_tag :branch_name, nil, placeholder: 'feature/dashboard', required: true, tabindex: 1, class: 'form-control'
  8 + = text_field_tag :branch_name, nil, placeholder: 'enter new branch name', required: true, tabindex: 1, class: 'form-control'
9 9 .form-group
10 10 = label_tag :ref, 'Create from', class: 'control-label'
11 11 .col-sm-10
12   - = text_field_tag :ref, nil, placeholder: 'master', required: true, tabindex: 2, class: 'form-control'
13   - .light branch name or commit SHA
  12 + = text_field_tag :ref, nil, placeholder: 'existing branch name, tag or commit SHA', required: true, tabindex: 2, class: 'form-control'
14 13 .form-actions
15 14 = submit_tag 'Create branch', class: 'btn btn-create', tabindex: 3
16 15 = link_to 'Cancel', project_branches_path(@project), class: 'btn btn-cancel'
... ...