improve new branch page
This commit is contained in:
parent
c1c28d3cea
commit
29306dd6a4
1 changed files with 3 additions and 3 deletions
|
@ -5,14 +5,14 @@
|
|||
.control-group
|
||||
= label_tag :branch_name, 'Name for new branch', class: 'control-label'
|
||||
.controls
|
||||
= text_field_tag :branch_name, nil, placeholder: 'feature/dashboard'
|
||||
= text_field_tag :branch_name, nil, placeholder: 'feature/dashboard', required: true, tabindex: 1
|
||||
.control-group
|
||||
= label_tag :ref, 'Create from', class: 'control-label'
|
||||
.controls
|
||||
= text_field_tag :ref, nil, placeholder: 'master'
|
||||
= text_field_tag :ref, nil, placeholder: 'master', required: true, tabindex: 2
|
||||
.light branch name or commit SHA
|
||||
.form-actions
|
||||
= submit_tag 'Create branch', class: 'btn btn-create'
|
||||
= submit_tag 'Create branch', class: 'btn btn-create', tabindex: 3
|
||||
= link_to 'Cancel', project_branches_path(@project), class: 'btn btn-cancel'
|
||||
|
||||
:javascript
|
||||
|
|
Loading…
Reference in a new issue