Commit 66d64ad4 authored by Steven Verbeek's avatar Steven Verbeek

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

parent 2228f1b1
...@@ -945,6 +945,18 @@ p.time { ...@@ -945,6 +945,18 @@ p.time {
.alert-message { .alert-message {
width:34px; width:34px;
margin: 0 0 0 auto; margin: 0 0 0 auto;
.error {
width: 40px;
}
}
}
pre {
background: white !important;
code {
background: none !important;
} }
} }
} }
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
.input= f.text_field :title, :maxlength => 255 .input= f.text_field :title, :maxlength => 255
.clearfix .clearfix
= f.label :description, "Issue Description" = f.label :description, "Issue Details"
.input= f.text_area :description, :maxlength => 2000, :class => "xxlarge" .input= f.text_area :description, :maxlength => 2000, :class => "xxlarge"
%p.hint Markdown is enabled. %p.hint Markdown is enabled.
...@@ -31,7 +31,10 @@ ...@@ -31,7 +31,10 @@
.input= f.check_box :closed .input= f.check_box :closed
.actions .actions
- if @issue.new_record?
= f.submit 'Submit new issue', :class => "primary btn" = f.submit 'Submit new issue', :class => "primary btn"
-else
= f.submit 'Save changes', :class => "primary btn"
- if request.xhr? - if request.xhr?
= link_to "Cancel", "#back", :onclick => "backToIssues();", :class => "btn" = link_to "Cancel", "#back", :onclick => "backToIssues();", :class => "btn"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment