Commit 753d360f authored by Thomas Randolph's avatar Thomas Randolph

Move the branch chooser hr

This puts the <hr> that is supposed to separate the branch
chooser from the rest of the form in the template for the
branch chooser.

That way, if the branch chooser isn't rendered, neither is the hr.
parent 04813972
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
= render 'shared/issuable/form/branch_chooser', issuable: issuable, form: form = render 'shared/issuable/form/branch_chooser', issuable: issuable, form: form
%hr
.form-group.row .form-group.row
= form.label :title, class: 'col-form-label col-sm-2' = form.label :title, class: 'col-form-label col-sm-2'
......
...@@ -20,3 +20,4 @@ ...@@ -20,3 +20,4 @@
= form.hidden_field(:target_branch, = form.hidden_field(:target_branch,
{ class: 'target_branch js-target-branch-select ref-name mw-xl', { class: 'target_branch js-target-branch-select ref-name mw-xl',
data: { placeholder: _('Select branch'), endpoint: refs_project_path(@project, sort: 'updated_desc', find: 'branches') }}) data: { placeholder: _('Select branch'), endpoint: refs_project_path(@project, sort: 'updated_desc', find: 'branches') }})
%hr
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment