Commit 92c568226808cc48aa6396c17d5d15741bd3d123

Authored by dosire
1 parent 55024ed1

Replace hints with text that is obviously not valid.

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,12 +5,11 @@
5 .form-group 5 .form-group
6 = label_tag :branch_name, 'Name for new branch', class: 'control-label' 6 = label_tag :branch_name, 'Name for new branch', class: 'control-label'
7 .col-sm-10 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: 'branch name, tag or commit SHA', required: true, tabindex: 1, class: 'form-control'
9 .form-group 9 .form-group
10 = label_tag :ref, 'Create from', class: 'control-label' 10 = label_tag :ref, 'Create from', class: 'control-label'
11 .col-sm-10 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: 'branch name, tag or commit SHA', required: true, tabindex: 2, class: 'form-control'
14 .form-actions 13 .form-actions
15 = submit_tag 'Create branch', class: 'btn btn-create', tabindex: 3 14 = submit_tag 'Create branch', class: 'btn btn-create', tabindex: 3
16 = link_to 'Cancel', project_branches_path(@project), class: 'btn btn-cancel' 15 = link_to 'Cancel', project_branches_path(@project), class: 'btn btn-cancel'