提交 66d64ad4 编写于 作者: S Steven Verbeek

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

上级 2228f1b1
......@@ -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;
}
}
}
......
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册