From 682f62fd4addb38843a9047b9ac47eb5ba94a30e Mon Sep 17 00:00:00 2001 From: Riyad Preukschas Date: Tue, 9 Oct 2012 23:06:33 +0200 Subject: [PATCH] Mark all GFM capable inputs --- app/views/issues/_form.html.haml | 4 ++-- app/views/merge_requests/_form.html.haml | 2 +- app/views/wikis/_form.html.haml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/issues/_form.html.haml b/app/views/issues/_form.html.haml index 813ecab..ec3edce 100644 --- a/app/views/issues/_form.html.haml +++ b/app/views/issues/_form.html.haml @@ -12,7 +12,7 @@ = f.label :title do %strong= "Subject *" .input - = f.text_field :title, maxlength: 255, class: "xxlarge" + = f.text_field :title, maxlength: 255, class: "xxlarge gfm-input" .issue_middle_block .issue_assignee = f.label :assignee_id do @@ -37,7 +37,7 @@ .clearfix = f.label :description, "Details" .input - = f.text_area :description, maxlength: 2000, class: "xxlarge", rows: 14 + = f.text_area :description, maxlength: 2000, class: "xxlarge gfm-input", rows: 14 %p.hint Issues are parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}. diff --git a/app/views/merge_requests/_form.html.haml b/app/views/merge_requests/_form.html.haml index 96692c0..f42d74e 100644 --- a/app/views/merge_requests/_form.html.haml +++ b/app/views/merge_requests/_form.html.haml @@ -38,7 +38,7 @@ .top_box_content = f.label :title do %strong= "Title *" - .input= f.text_field :title, class: "input-xxlarge pad", maxlength: 255, rows: 5 + .input= f.text_field :title, class: "input-xxlarge pad gfm-input", maxlength: 255, rows: 5 .middle_box_content = f.label :assignee_id do %i.icon-user diff --git a/app/views/wikis/_form.html.haml b/app/views/wikis/_form.html.haml index b05d0a7..89bbe2e 100644 --- a/app/views/wikis/_form.html.haml +++ b/app/views/wikis/_form.html.haml @@ -21,7 +21,7 @@ .bottom_box_content = f.label :content - .input= f.text_area :content, class: 'span8' + .input= f.text_area :content, class: 'span8 gfm-input' .actions = f.submit 'Save', class: "save-btn btn" = link_to "Cancel", project_wiki_path(@project, :index), class: "btn cancel-btn" -- libgit2 0.21.2