Commit 682f62fd4addb38843a9047b9ac47eb5ba94a30e

Authored by Riyad Preukschas
1 parent 679d0d6d

Mark all GFM capable inputs

app/views/issues/_form.html.haml
... ... @@ -12,7 +12,7 @@
12 12 = f.label :title do
13 13 %strong= "Subject *"
14 14 .input
15   - = f.text_field :title, maxlength: 255, class: "xxlarge"
  15 + = f.text_field :title, maxlength: 255, class: "xxlarge gfm-input"
16 16 .issue_middle_block
17 17 .issue_assignee
18 18 = f.label :assignee_id do
... ... @@ -37,7 +37,7 @@
37 37 .clearfix
38 38 = f.label :description, "Details"
39 39 .input
40   - = f.text_area :description, maxlength: 2000, class: "xxlarge", rows: 14
  40 + = f.text_area :description, maxlength: 2000, class: "xxlarge gfm-input", rows: 14
41 41 %p.hint Issues are parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}.
42 42  
43 43  
... ...
app/views/merge_requests/_form.html.haml
... ... @@ -38,7 +38,7 @@
38 38 .top_box_content
39 39 = f.label :title do
40 40 %strong= "Title *"
41   - .input= f.text_field :title, class: "input-xxlarge pad", maxlength: 255, rows: 5
  41 + .input= f.text_field :title, class: "input-xxlarge pad gfm-input", maxlength: 255, rows: 5
42 42 .middle_box_content
43 43 = f.label :assignee_id do
44 44 %i.icon-user
... ...
app/views/wikis/_form.html.haml
... ... @@ -21,7 +21,7 @@
21 21  
22 22 .bottom_box_content
23 23 = f.label :content
24   - .input= f.text_area :content, class: 'span8'
  24 + .input= f.text_area :content, class: 'span8 gfm-input'
25 25 .actions
26 26 = f.submit 'Save', class: "save-btn btn"
27 27 = link_to "Cancel", project_wiki_path(@project, :index), class: "btn cancel-btn"
... ...