2015-12-16 09:31:11 +08:00
|
|
|
<div id="issue_edit" style="display: none">
|
2015-12-06 15:03:36 +08:00
|
|
|
<%= content_for(:header_tags) do %>
|
2015-12-14 17:13:57 +08:00
|
|
|
<%= import_ke(enable_at: true, prettify: false, init_activity: false) %>
|
2015-12-06 15:03:36 +08:00
|
|
|
<% end %>
|
|
|
|
|
2015-12-29 18:12:14 +08:00
|
|
|
<%= labelled_form_for @issue, :html => {:id => 'issue-form', :multipart => true, :remote => true} do |f| %>
|
2013-08-01 10:33:49 +08:00
|
|
|
<%= error_messages_for 'issue', 'time_entry' %>
|
|
|
|
<%= render :partial => 'conflict' if @conflict %>
|
2015-04-15 16:38:39 +08:00
|
|
|
<!--编辑的整个属性-->
|
2015-12-15 18:43:58 +08:00
|
|
|
<div id="all_attributes" >
|
|
|
|
<%= render :partial => 'issues/form', :locals => {:f => f} %>
|
2015-04-15 16:38:39 +08:00
|
|
|
</div>
|
2015-12-15 18:43:58 +08:00
|
|
|
<%# if @journals.present? %>
|
|
|
|
<!--<div id="history">-->
|
|
|
|
<!--<%#= render :partial => 'history', :locals => {:issue => @issue, :journals => @journals} %>-->
|
|
|
|
<!--</div>-->
|
|
|
|
<%# end %>
|
2015-09-23 14:27:47 +08:00
|
|
|
<div id="journal_issue_note" class="wiki">
|
|
|
|
|
|
|
|
</div>
|
2015-07-02 08:43:41 +08:00
|
|
|
<input name="issue_quote_new" type="hidden" value="<%= %>" />
|
2015-12-18 09:46:28 +08:00
|
|
|
<!--<fieldset><legend>回复</legend>-->
|
|
|
|
<%#= f.kindeditor :notes, :style => "width:99%;",:height=>'100px', :cssData =>"blockquote { padding:0px}", :rows => "5", :no_label => true, :editor_id=>'issue_journal_kind_reply', at_id: @issue.id, at_type: @issue.class.to_s %>
|
|
|
|
<!--</fieldset>-->
|
2015-04-15 16:38:39 +08:00
|
|
|
<!--<%# if @issue.safe_attribute? 'private_notes' %>-->
|
|
|
|
<!--<label for="issue_private_notes"><%#= f.check_box :private_notes, :no_label => true %> <%#= l(:field_private_notes) %></label>-->
|
|
|
|
<!--<%# end %>-->
|
2013-08-01 10:33:49 +08:00
|
|
|
|
2015-04-16 12:15:36 +08:00
|
|
|
<%= call_hook(:view_issues_edit_notes_bottom, {:issue => @issue, :notes => @notes, :form => f}) %>
|
2015-04-15 16:38:39 +08:00
|
|
|
<!--</fieldset>-->
|
2013-08-01 10:33:49 +08:00
|
|
|
|
2015-04-15 16:38:39 +08:00
|
|
|
<!--<fieldset><legend><%#= l(:label_attachment_plural) %></legend>-->
|
2015-04-17 07:45:37 +08:00
|
|
|
<!--<p style="padding-top: 5px;"><%#= render :partial => 'attachments/new_form', :locals => {:container => @issue} %>
|
2015-04-15 16:38:39 +08:00
|
|
|
<!--</fieldset>-->
|
2014-07-15 15:09:52 +08:00
|
|
|
|
2015-04-15 20:05:21 +08:00
|
|
|
<div class="cl"></div>
|
2013-08-01 10:33:49 +08:00
|
|
|
<%= f.hidden_field :lock_version %>
|
|
|
|
<%= hidden_field_tag 'last_journal_id', params[:last_journal_id] || @issue.last_journal_id %>
|
2015-04-16 12:15:36 +08:00
|
|
|
<%= hidden_field_tag 'reference_user_id', params[:reference_user_id] %>
|
2013-08-01 10:33:49 +08:00
|
|
|
<% end %>
|
2015-12-18 09:20:51 +08:00
|
|
|
</div>
|