Commit 3adfbe3e81697f61775d4d08d8eacde5a13a95c4
1 parent
bbd92e57
Exists in
master
and in
4 other branches
Mark inputs for notes with GFM capabilities
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/notes/_common_form.html.haml
... | ... | @@ -8,7 +8,7 @@ |
8 | 8 | |
9 | 9 | = f.hidden_field :noteable_id |
10 | 10 | = f.hidden_field :noteable_type |
11 | - = f.text_area :note, size: 255, class: 'note-text' | |
11 | + = f.text_area :note, size: 255, class: 'note-text gfm-input' | |
12 | 12 | #preview-note.preview_note.hide |
13 | 13 | .hint |
14 | 14 | .right Comments are parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}. | ... | ... |
app/views/notes/_per_line_form.html.haml
... | ... | @@ -13,7 +13,7 @@ |
13 | 13 | = f.hidden_field :noteable_id |
14 | 14 | = f.hidden_field :noteable_type |
15 | 15 | = f.hidden_field :line_code |
16 | - = f.text_area :note, size: 255, class: 'line-note-text' | |
16 | + = f.text_area :note, size: 255, class: 'line-note-text gfm-input' | |
17 | 17 | .note_actions |
18 | 18 | .buttons |
19 | 19 | = f.submit 'Add note', class: "btn save-btn submit_note submit_inline_note", id: "submit_note" | ... | ... |