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,9 +13,9 @@
.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.
%p.hint Markdown is enabled.
.clearfix
= f.label :assignee_id
@ -31,7 +31,10 @@
.input= f.check_box :closed
.actions
= f.submit 'Submit new issue', :class => "primary btn"
- 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"