summaryrefslogtreecommitdiff
path: root/app/views/projects/branches
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-12 18:16:56 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-04-12 18:16:56 -0500
commit4e54f5ae1b15ff61efb2f434afa6e15b1666a3cd (patch)
tree23be4902b84217978d15b3402d91f78a9825996a /app/views/projects/branches
parent53bf57f3acf00436ee16f93cda433670c08a2275 (diff)
downloadgitlab-ce-4e54f5ae1b15ff61efb2f434afa6e15b1666a3cd.tar.gz
[skip ci] add col-sm-* for form-horizontal changes to keep layout
Diffstat (limited to 'app/views/projects/branches')
-rw-r--r--app/views/projects/branches/new.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/branches/new.html.haml b/app/views/projects/branches/new.html.haml
index 40c1b3d8199..65b414c8af2 100644
--- a/app/views/projects/branches/new.html.haml
+++ b/app/views/projects/branches/new.html.haml
@@ -11,12 +11,12 @@
= form_tag namespace_project_branches_path, method: :post, id: "new-branch-form", class: "js-create-branch-form js-requires-input" do
.form-group.row
- = label_tag :branch_name, nil, class: 'col-form-label'
+ = label_tag :branch_name, nil, class: 'col-form-label col-sm-2'
.col-sm-10
= text_field_tag :branch_name, params[:branch_name], required: true, autofocus: true, class: 'form-control js-branch-name'
.form-text.text-muted.text-danger.js-branch-name-error
.form-group.row
- = label_tag :ref, 'Create from', class: 'col-form-label'
+ = label_tag :ref, 'Create from', class: 'col-form-label col-sm-2'
.col-sm-10.create-from
.dropdown
= hidden_field_tag :ref, default_ref