Fixed code in issue details, changed form description to details.

This commit is contained in:
Steven Verbeek 2012-03-17 13:02:48 -03:00
parent 2228f1b1ad
commit 66d64ad4f4
2 changed files with 18 additions and 3 deletions

View file

@ -945,6 +945,18 @@ p.time {
.alert-message {
width:34px;
margin: 0 0 0 auto;
.error {
width: 40px;
}
}
}
pre {
background: white !important;
code {
background: none !important;
}
}
}

View file

@ -13,7 +13,7 @@
.input= f.text_field :title, :maxlength => 255
.clearfix
= f.label :description, "Issue Description"
= f.label :description, "Issue Details"
.input= f.text_area :description, :maxlength => 2000, :class => "xxlarge"
%p.hint Markdown is enabled.
@ -31,7 +31,10 @@
.input= f.check_box :closed
.actions
- if @issue.new_record?
= f.submit 'Submit new issue', :class => "primary btn"
-else
= f.submit 'Save changes', :class => "primary btn"
- if request.xhr?
= link_to "Cancel", "#back", :onclick => "backToIssues();", :class => "btn"