diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-10-01 11:10:13 +0400 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-10-02 11:59:01 +0400 |
commit | 093c2c6a01fe2cfaff72b2624b65896fed339ab5 (patch) | |
tree | 77943db8a0fead7fb12889e16fd67798399262ff /app/views/projects/milestones/_form.html.haml | |
parent | 51bc636eb34934747f7808b2fc0cd59e9cb8e6b6 (diff) |
Apply ZEN mode to all GFM forms
Diffstat (limited to 'app/views/projects/milestones/_form.html.haml')
-rw-r--r-- | app/views/projects/milestones/_form.html.haml | 4 |
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 27069802d5a..5fb01a11cc5 100644 --- a/app/views/projects/milestones/_form.html.haml +++ b/app/views/projects/milestones/_form.html.haml @@ -5,7 +5,7 @@ %hr -= form_for [@project, @milestone], html: {class: "new_milestone form-horizontal gfm-form"} do |f| += form_for [@project, @milestone], html: {class: 'form-horizontal milestone-form gfm-form'} do |f| -if @milestone.errors.any? .alert.alert-danger %ul @@ -21,7 +21,7 @@ .form-group = f.label :description, "Description", class: "control-label" .col-sm-10 - = f.text_area :description, maxlength: 65535, class: "form-control markdown-area", rows: 10 + = render 'projects/zen', f: f, attr: :description, classes: 'description form-control' .hint .pull-left Milestones are parsed with #{link_to "GitLab Flavored Markdown", help_page_path("markdown", "markdown"), target: '_blank'}. .pull-left Attach images (JPG, PNG, GIF) by dragging & dropping or #{link_to "selecting them", '#', class: 'markdown-selector' }. |