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