diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-17 09:15:55 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-17 09:15:55 +0400 |
commit | 29306dd6a41a20210bc30775a437a67649b99038 (patch) | |
tree | 64e7004c328f328f63dd003d035182c92b006597 /app/views/projects/branches/new.html.haml | |
parent | c1c28d3ceadb51b0a676d19f5addf687f5e3e080 (diff) |
improve new branch page
Diffstat (limited to 'app/views/projects/branches/new.html.haml')
-rw-r--r-- | app/views/projects/branches/new.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/branches/new.html.haml b/app/views/projects/branches/new.html.haml index 8df2c03f6c1..37612d3fd7b 100644 --- a/app/views/projects/branches/new.html.haml +++ b/app/views/projects/branches/new.html.haml @@ -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 |