diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 18:16:56 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 18:16:56 -0500 |
commit | 4e54f5ae1b15ff61efb2f434afa6e15b1666a3cd (patch) | |
tree | 23be4902b84217978d15b3402d91f78a9825996a /app/views/projects/commit | |
parent | 53bf57f3acf00436ee16f93cda433670c08a2275 (diff) | |
download | gitlab-ce-4e54f5ae1b15ff61efb2f434afa6e15b1666a3cd.tar.gz |
[skip ci] add col-sm-* for form-horizontal changes to keep layout
Diffstat (limited to 'app/views/projects/commit')
-rw-r--r-- | app/views/projects/commit/_change.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/_change.html.haml b/app/views/projects/commit/_change.html.haml index 4cec612ab1c..430bc8f59f9 100644 --- a/app/views/projects/commit/_change.html.haml +++ b/app/views/projects/commit/_change.html.haml @@ -22,7 +22,7 @@ %p.append-bottom-20= description = form_tag [type.underscore, @project.namespace.becomes(Namespace), @project, commit], method: :post, remote: false, class: "js-#{type}-form js-requires-input" do .form-group.row.branch - = label_tag 'start_branch', branch_label, class: 'col-form-label' + = label_tag 'start_branch', branch_label, class: 'col-form-label col-sm-2' .col-sm-10 = hidden_field_tag :start_branch, @project.default_branch, id: 'start_branch' = dropdown_tag(@project.default_branch, options: { title: s_("BranchSwitcherTitle|Switch branch"), filter: true, placeholder: s_("BranchSwitcherPlaceholder|Search branches"), toggle_class: 'js-project-refs-dropdown dynamic', dropdown_class: 'dropdown-menu-selectable', data: { field_name: "start_branch", selected: @project.default_branch, start_branch: @project.default_branch, refs_url: project_branches_path(@project), submit_form_on_click: false } }) |