summaryrefslogtreecommitdiff
path: root/app/views/projects/milestones
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-04-05 10:42:38 +0100
committerPhil Hughes <me@iamphill.com>2016-04-14 10:28:05 +0100
commitd67c3e35c98cff2372db803f93a97a60aa8b4104 (patch)
treeb9f56771b620f5e540b6773e341799ca98562cfc /app/views/projects/milestones
parentc45ca936c77eceff367e27e1bf8fd5f11c6a7c39 (diff)
downloadgitlab-ce-d67c3e35c98cff2372db803f93a97a60aa8b4104.tar.gz
Milestones use new GLForm class
Diffstat (limited to 'app/views/projects/milestones')
-rw-r--r--app/views/projects/milestones/_form.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/milestones/_form.html.haml b/app/views/projects/milestones/_form.html.haml
index b2dae1c70ee..06b21754797 100644
--- a/app/views/projects/milestones/_form.html.haml
+++ b/app/views/projects/milestones/_form.html.haml
@@ -1,6 +1,5 @@
-= form_for [@project.namespace.becomes(Namespace), @project, @milestone], html: {class: 'form-horizontal milestone-form gfm-form js-quick-submit js-requires-input'} do |f|
+= form_for [@project.namespace.becomes(Namespace), @project, @milestone], html: {class: 'form-horizontal milestone-form common-note-form js-quick-submit js-requires-input'} do |f|
= form_errors(@milestone)
-
.row
.col-md-6
.form-group
@@ -11,7 +10,7 @@
= f.label :description, "Description", class: "control-label"
.col-sm-10
= render layout: 'projects/md_preview', locals: { preview_class: "md-preview" } do
- = render 'projects/zen', f: f, attr: :description, classes: 'description form-control'
+ = render 'projects/zen', f: f, attr: :description, classes: 'note-textarea'
= render 'projects/notes/hints'
.clearfix
.error-alert