From 3adfbe3e81697f61775d4d08d8eacde5a13a95c4 Mon Sep 17 00:00:00 2001 From: Riyad Preukschas Date: Tue, 9 Oct 2012 14:48:20 +0200 Subject: [PATCH] Mark inputs for notes with GFM capabilities --- app/views/notes/_common_form.html.haml | 2 +- app/views/notes/_per_line_form.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/notes/_common_form.html.haml b/app/views/notes/_common_form.html.haml index adaad9ecec7..260725e9786 100644 --- a/app/views/notes/_common_form.html.haml +++ b/app/views/notes/_common_form.html.haml @@ -8,7 +8,7 @@ = f.hidden_field :noteable_id = f.hidden_field :noteable_type - = f.text_area :note, size: 255, class: 'note-text' + = f.text_area :note, size: 255, class: 'note-text gfm-input' #preview-note.preview_note.hide .hint .right Comments are parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}. diff --git a/app/views/notes/_per_line_form.html.haml b/app/views/notes/_per_line_form.html.haml index 8e31b59e9f0..ee0cde4bcf1 100644 --- a/app/views/notes/_per_line_form.html.haml +++ b/app/views/notes/_per_line_form.html.haml @@ -13,7 +13,7 @@ = f.hidden_field :noteable_id = f.hidden_field :noteable_type = f.hidden_field :line_code - = f.text_area :note, size: 255, class: 'line-note-text' + = f.text_area :note, size: 255, class: 'line-note-text gfm-input' .note_actions .buttons = f.submit 'Add note', class: "btn save-btn submit_note submit_inline_note", id: "submit_note" -- GitLab