summaryrefslogtreecommitdiff
path: root/app/views/projects/milestones
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/milestones
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/milestones')
-rw-r--r--app/views/projects/milestones/_form.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/milestones/_form.html.haml b/app/views/projects/milestones/_form.html.haml
index 41a82971a2a..4cc59718715 100644
--- a/app/views/projects/milestones/_form.html.haml
+++ b/app/views/projects/milestones/_form.html.haml
@@ -3,11 +3,11 @@
.row
.col-md-6
.form-group.row
- = f.label :title, "Title", class: "col-form-label"
+ = f.label :title, "Title", class: "col-form-label col-sm-2"
.col-sm-10
= f.text_field :title, maxlength: 255, class: "form-control", required: true, autofocus: true
.form-group.row.milestone-description
- = f.label :description, "Description", class: "col-form-label"
+ = f.label :description, "Description", class: "col-form-label col-sm-2"
.col-sm-10
= render layout: 'projects/md_preview', locals: { url: preview_markdown_path(@project) } do
= render 'projects/zen', f: f, attr: :description, classes: 'note-textarea', placeholder: 'Write milestone description...'