Commit 763022d6983434a00751638e40f4dfb38f6cc5a5
1 parent
e84d90c1
Exists in
master
and in
4 other branches
Remove redundant branch labels from MR form
Fixes #1525
Showing
1 changed file
with
3 additions
and
9 deletions
Show diff stats
app/views/merge_requests/_form.html.haml
... | ... | @@ -12,11 +12,8 @@ |
12 | 12 | .span5 |
13 | 13 | .mr_branch_box |
14 | 14 | %h5 From (Head Branch) |
15 | - .body | |
16 | - .padded | |
17 | - = f.label :source_branch, "From", class: "control-label" | |
18 | - .controls | |
19 | - = f.select(:source_branch, @project.heads.map(&:name), { include_blank: "Select branch" }, {class: 'chosen span3'}) | |
15 | + .body | |
16 | + .padded= f.select(:source_branch, @project.heads.map(&:name), { include_blank: "Select branch" }, {class: 'chosen span4'}) | |
20 | 17 | .mr_source_commit |
21 | 18 | |
22 | 19 | .span2 |
... | ... | @@ -25,10 +22,7 @@ |
25 | 22 | .mr_branch_box |
26 | 23 | %h5 To (Base Branch) |
27 | 24 | .body |
28 | - .padded | |
29 | - = f.label :target_branch, "To", class: "control-label" | |
30 | - .controls | |
31 | - = f.select(:target_branch, @project.heads.map(&:name), { include_blank: "Select branch" }, {class: 'chosen span3'}) | |
25 | + .padded= f.select(:target_branch, @project.heads.map(&:name), { include_blank: "Select branch" }, {class: 'chosen span4'}) | |
32 | 26 | .mr_target_commit |
33 | 27 | |
34 | 28 | %h4.cdark 2. Fill info | ... | ... |