Mark all GFM capable inputs

This commit is contained in:
Riyad Preukschas 2012-10-09 23:06:33 +02:00
parent 679d0d6d76
commit 682f62fd4a
3 changed files with 4 additions and 4 deletions

View file

@ -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'}.

View file

@ -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

View file

@ -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"