Commit 29306dd6a41a20210bc30775a437a67649b99038

Authored by Dmitriy Zaporozhets
1 parent c1c28d3c

improve new branch page

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
app/views/projects/branches/new.html.haml
@@ -5,14 +5,14 @@ @@ -5,14 +5,14 @@
5 .control-group 5 .control-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 .controls 7 .controls
8 - = text_field_tag :branch_name, nil, placeholder: 'feature/dashboard' 8 + = text_field_tag :branch_name, nil, placeholder: 'feature/dashboard', required: true, tabindex: 1
9 .control-group 9 .control-group
10 = label_tag :ref, 'Create from', class: 'control-label' 10 = label_tag :ref, 'Create from', class: 'control-label'
11 .controls 11 .controls
12 - = text_field_tag :ref, nil, placeholder: 'master' 12 + = text_field_tag :ref, nil, placeholder: 'master', required: true, tabindex: 2
13 .light branch name or commit SHA 13 .light branch name or commit SHA
14 .form-actions 14 .form-actions
15 - = submit_tag 'Create branch', class: 'btn btn-create' 15 + = submit_tag 'Create branch', class: 'btn btn-create', tabindex: 3
16 = link_to 'Cancel', project_branches_path(@project), class: 'btn btn-cancel' 16 = link_to 'Cancel', project_branches_path(@project), class: 'btn btn-cancel'
17 17
18 :javascript 18 :javascript