diff options
author | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-10-16 02:46:48 +0400 |
---|---|---|
committer | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-10-16 02:46:48 +0400 |
commit | 763022d6983434a00751638e40f4dfb38f6cc5a5 (patch) | |
tree | 80e9fc4475139a2967f55e79c0a5502b5bc4ea98 /app/views | |
parent | e84d90c1e75800bc4186c8360c5a0d331c124517 (diff) |
Remove redundant branch labels from MR form
Fixes #1525
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/merge_requests/_form.html.haml | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/app/views/merge_requests/_form.html.haml b/app/views/merge_requests/_form.html.haml index f42d74e1376..30f8810259c 100644 --- a/app/views/merge_requests/_form.html.haml +++ b/app/views/merge_requests/_form.html.haml @@ -12,11 +12,8 @@ .span5 .mr_branch_box %h5 From (Head Branch) - .body - .padded - = f.label :source_branch, "From", class: "control-label" - .controls - = f.select(:source_branch, @project.heads.map(&:name), { include_blank: "Select branch" }, {class: 'chosen span3'}) + .body + .padded= f.select(:source_branch, @project.heads.map(&:name), { include_blank: "Select branch" }, {class: 'chosen span4'}) .mr_source_commit .span2 @@ -25,10 +22,7 @@ .mr_branch_box %h5 To (Base Branch) .body - .padded - = f.label :target_branch, "To", class: "control-label" - .controls - = f.select(:target_branch, @project.heads.map(&:name), { include_blank: "Select branch" }, {class: 'chosen span3'}) + .padded= f.select(:target_branch, @project.heads.map(&:name), { include_blank: "Select branch" }, {class: 'chosen span4'}) .mr_target_commit %h4.cdark 2. Fill info |