socialforge/app/views/issues/_edit.html.erb

29 lines
1.3 KiB
Plaintext
Raw Normal View History

2015-12-06 15:03:36 +08:00
<%= content_for(:header_tags) do %>
<%= import_ke(enable_at: false, prettify: false, init_activity: false) %>
<% end %>
2015-12-15 18:43:58 +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} %>
<a href="javascript:void(0);" onclick="issue_desc_editor.sync();$('#issue-form').submit();" class="blue_btn fl ml80"> 确定</a>
<a href="javascript:void(0);" onclick="issueDetailShow();" class="grey_btn fl mr50" > 取消 </a>
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 %>
<div id="journal_issue_note" class="wiki">
</div>
<input name="issue_quote_new" type="hidden" value="<%= %>" />
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 %>