|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
<label class="label"><span class="c_red f12">*</span> 类型 : </label>
|
|
|
|
|
<%= f.select :tracker_id, @issue.project.trackers.collect { |t| [t.name, t.id] },
|
|
|
|
|
{:required => true, :no_label => true},
|
|
|
|
|
:onchange => "updateIssueFrom('#{escape_javascript project_issue_form_path(@project, :id => @issue, :format => 'js')}')",
|
|
|
|
|
#:onchange => "updateIssueFrom('#{escape_javascript project_issue_form_path(@project, :id => @issue, :format => 'js')}')",
|
|
|
|
|
:class => "w90" %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</li>
|
|
|
|
@ -49,7 +49,7 @@
|
|
|
|
|
<%= f.label_for_field :description, :required => @issue.required_attribute?('description'), :no_label => true, :class => "label" %>
|
|
|
|
|
<%#= link_to_function image_tag('edit.png'), '$(this).hide(); $("#issue_description_and_toolbar").show()' unless @issue.new_record? %>
|
|
|
|
|
<%#= content_tag 'span', :id => "issue_description_and_toolbar" do %>
|
|
|
|
|
<%= f.kindeditor :description,:editor_id => "issue_desc_editor", :width=>'87%', :resizeType => 0, :no_label => true,at_id: @project.id, at_type: @project.class.to_s %>
|
|
|
|
|
<%= f.kindeditor :description,:editor_id => "issue_desc_editor", :width=>'85%', :resizeType => 0, :no_label => true,at_id: @project.id, at_type: @project.class.to_s %>
|
|
|
|
|
<%# end %>
|
|
|
|
|
<%#= wikitoolbar_for 'issue_description' %>
|
|
|
|
|
<% end %>
|
|
|
|
|