|
|
|
@ -28,7 +28,7 @@
|
|
|
|
|
<li>
|
|
|
|
|
<% if @issue.safe_attribute? 'subject' %>
|
|
|
|
|
<label class="label"><span class="c_red f12">*</span> 主题 : </label>
|
|
|
|
|
<%= f.text_field :subject, :class => "w576", :maxlength => 255, :style => "font-size:small", :no_label => true %>
|
|
|
|
|
<%= f.text_field :subject, :class => "w606", :maxlength => 255, :style => "font-size:small", :no_label => true %>
|
|
|
|
|
<!--Added by young-->
|
|
|
|
|
<%= javascript_tag do %>
|
|
|
|
|
observeAutocompleteField('issue_subject',
|
|
|
|
@ -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 %>
|
|
|
|
|
<%= f.kindeditor :description,:editor_id => "issue_desc_editor", :width=>'85%', :resizeType => 0, :no_label => true %>
|
|
|
|
|
<%# end %>
|
|
|
|
|
<%#= wikitoolbar_for 'issue_description' %>
|
|
|
|
|
<% end %>
|
|
|
|
|