diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-02 13:36:47 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-02 13:36:47 +0200 |
commit | 3230df5fbe3125461d2668483353a7f93e50c60a (patch) | |
tree | c0bac243a8929351501b5a9fa8aeb33e303a335a /app/views/projects/branches | |
parent | 66a91c4fabe2b777d0e63329c466614ed76c6b83 (diff) | |
download | gitlab-ce-3230df5fbe3125461d2668483353a7f93e50c60a.tar.gz |
Style new branch/tag forms
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/branches')
-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 09b02789f0b..d173065afd2 100644 --- a/app/views/projects/branches/new.html.haml +++ b/app/views/projects/branches/new.html.haml @@ -1,15 +1,15 @@ %h3.page-title %i.icon-code-fork New branch -= form_tag project_branches_path, method: :post do += form_tag project_branches_path, method: :post, class: "form-horizontal" do .form-group = label_tag :branch_name, 'Name for new branch', class: 'control-label' .col-sm-10 - = text_field_tag :branch_name, nil, placeholder: 'feature/dashboard', required: true, tabindex: 1 + = text_field_tag :branch_name, nil, placeholder: 'feature/dashboard', required: true, tabindex: 1, class: 'form-control' .form-group = label_tag :ref, 'Create from', class: 'control-label' .col-sm-10 - = text_field_tag :ref, nil, placeholder: 'master', required: true, tabindex: 2 + = text_field_tag :ref, nil, placeholder: 'master', required: true, tabindex: 2, class: 'form-control' .light branch name or commit SHA .form-actions = submit_tag 'Create branch', class: 'btn btn-create', tabindex: 3 |